aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorOlaf Hering <[email protected]>2006-04-28 01:23:49 +0000
committerJeff Garzik <[email protected]>2006-05-02 19:18:54 +0000
commitb0b8dab288590ede2377a671db0a31380f454541 (patch)
treea6b9b8e4c70dac9605f503ea9ffeab47d4614d18 /security/selinux/hooks.c
parent[PATCH] vmsplice: restrict stealing a little more (diff)
downloadkernel-b0b8dab288590ede2377a671db0a31380f454541.tar.gz
kernel-b0b8dab288590ede2377a671db0a31380f454541.zip
[PATCH] mv643xx_eth: provide sysfs class device symlink
On Sat, Mar 11, Olaf Hering wrote: > Why is the /sys/class/net/eth0/device symlink not created for the > mv643xx_eth driver? Does this work for other platform device drivers? > Seems to work for the ps2 keyboard at least. The SET_NETDEV_DEV has to be done before a call to register_netdev. With the new patch below, the device symlink for the platform device was created. Unfortunately, after the 4 ls commands, the network connection died. No idea if the box crashed or if something else broke, lost remote access. Provide sysfs 'device' in /class/net/ethN Also, set module owner field, like pcnet32 driver does. Signed-off-by: Olaf Hering <[email protected]> Acked-by: Dale Farnsworth <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions