diff options
| author | David Quigley <[email protected]> | 2006-06-30 08:55:48 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-06-30 18:25:37 +0000 |
| commit | 7a01955f99b65622a00ba5c8b39202ddc6fa65f8 (patch) | |
| tree | 1dc0ce68a00ba3171097dc5da9875fc6ed5b5069 /drivers/usb/core/inode.c | |
| parent | [PATCH] SELinux: add security hook call to kill_proc_info_as_uid (diff) | |
| download | kernel-7a01955f99b65622a00ba5c8b39202ddc6fa65f8.tar.gz kernel-7a01955f99b65622a00ba5c8b39202ddc6fa65f8.zip | |
[PATCH] SELinux: update USB code with new kill_proc_info_as_uid
This patch updates the USB core to save and pass the sending task secid when
sending signals upon AIO completion so that proper security checking can be
applied by security modules.
Signed-off-by: David Quigley <[email protected]>
Signed-off-by: James Morris <[email protected]>
Cc: Stephen Smalley <[email protected]>
Cc: Chris Wright <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/core/inode.c')
| -rw-r--r-- | drivers/usb/core/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/inode.c b/drivers/usb/core/inode.c index bfc9b28a7242..d0a208de32cf 100644 --- a/drivers/usb/core/inode.c +++ b/drivers/usb/core/inode.c @@ -700,7 +700,7 @@ static void usbfs_remove_device(struct usb_device *dev) sinfo.si_errno = EPIPE; sinfo.si_code = SI_ASYNCIO; sinfo.si_addr = ds->disccontext; - kill_proc_info_as_uid(ds->discsignr, &sinfo, ds->disc_pid, ds->disc_uid, ds->disc_euid); + kill_proc_info_as_uid(ds->discsignr, &sinfo, ds->disc_pid, ds->disc_uid, ds->disc_euid, ds->secid); } } } |
