Wind River Support Network

HomeDefectsCGP5-1192
Fixed

CGP5-1192 : [Feature Testing][networking]: /usb/bin/expect does not work on cav-octeon2+glbc_cgl+cgl

Created: May 16, 2013    Updated: Mar 11, 2016
Resolved Date: Jun 3, 2013
Previous ID: LIN5-3535
Found In Version: 5.0.1
Fix Version: 5.0.1.4
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Networking

Description

Problem Description
======================
/usb/bin/expect does not work on cav-octeon2+glbc_cgl+cgl

Expected Behavior
======================
It works

Observed Behavior
======================
root@CN68xx_2:/opt/wr-test# /usr/bin/expect 
grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/expect[expect:1643] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:1196] uid/euid:0/0 gid/egid:0/0
grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/expect[expect:1643] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:1196] uid/euid:0/0 gid/egid:0/0
Tcl_InitNotifier: unable to start notifier threadgrsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/expect[expect:1643] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:1196] uid/euid:0/0 gid/egid:0/0

Aborted
2013 May 16 09:45:20 CN68xx_2 grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/expect[expect:1643] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:1196] uid/euid:0/0 gid/egid:0/0
2013 May 16 09:45:20 CN68xx_2 grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/expect[expect:1643] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:1196] uid/euid:0/0 gid/egid:0/0
2013 May 16 09:45:20 CN68xx_2 grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/expect[expect:1643] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:1196] uid/euid:0/0 gid/egid:0/0
root@CN68xx_2:/opt/wr-test# 

Workaround

disable CONFIG_PAX_MPROTECT

Steps to Reproduce

1 configure a project
/wrlinux-x/wrlinux/configure --enable-board=cav-octeon2 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=/wr-testing/cgl,/wr-testing/networking --with-template=feature/cut
2. make fs
3. start the target with the kernel and rootfs
4. on target run /usr/bin/expect

Other Downloads


Live chat
Online