Look: $ pwd /home/drey $ /sbin/ifconfig Warning: cannot open /proc/net/dev (Permission denied). Limited output. eth0 Link encap:Ethernet HWaddr 00:50:22:8B:AF:4D inet addr:194.85.82.184 Bcast:194.85.83.255 Mask:255.255.252.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Base address:0x9000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 $ cd /proc/net bash: cd: /proc/net: Permission denied $ cd /proc $ cd net $ /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:50:22:8B:AF:4D inet addr:194.85.82.184 Bcast:194.85.83.255 Mask:255.255.252.0 inet6 addr: 3ffe:b80:1377::bad:beef/48 Scope:Global inet6 addr: fe80::250:22ff:fe8b:af4d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:603463 errors:0 dropped:0 overruns:0 frame:0 TX packets:390827 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:792140645 (755.4 Mb) TX bytes:35248014 (33.6 Mb) Interrupt:11 Base address:0x9000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2307 errors:0 dropped:0 overruns:0 frame:0 TX packets:2307 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:502207 (490.4 Kb) TX bytes:502207 (490.4 Kb) $ cd .. $ /sbin/ifconfig Warning: cannot open /proc/net/dev (Permission denied). Limited output. eth0 Link encap:Ethernet HWaddr 00:50:22:8B:AF:4D inet addr:194.85.82.184 Bcast:194.85.83.255 Mask:255.255.252.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Base address:0x9000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 $
Created attachment 10288 [details] Kernel's .config file
Created attachment 10289 [details] good strace of ifconfig
Created attachment 10290 [details] bad strace of sysconfig
you sure this is a bug? or you just don't have grsecurity set up right. Its SUPPOSED to be permission denied if you're a regular user...
Yes. I'm sure. It gives same result even under root. Read bugreport more carefully, please. If it supposed to be permission denied, why it does not after chdir to /proc/net?
asfd 'sadf a
please try against gentoo-sources-2.4.20-r3 as it has grsecurity-1.9.9f Thanks, Jay
works well now with gentoo-sources-2.4.20-r3
closed as per below. Thanks, Jay