diff options
author | David Quigley <dpquigl@tycho.nsa.gov> | 2006-06-30 01:55:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-30 11:25:37 -0700 |
commit | 7a01955f99b65622a00ba5c8b39202ddc6fa65f8 (patch) | |
tree | 1dc0ce68a00ba3171097dc5da9875fc6ed5b5069 /drivers/usb/core/usb.h | |
parent | 8f95dc58d0505516f5cc212a966aea2f2cdb5e44 (diff) | |
download | linux-7a01955f99b65622a00ba5c8b39202ddc6fa65f8.tar.gz linux-7a01955f99b65622a00ba5c8b39202ddc6fa65f8.tar.bz2 linux-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 <dpquigl@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/core/usb.h')
-rw-r--r-- | drivers/usb/core/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h index 7a650c763a62..49f69236b420 100644 --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -80,6 +80,7 @@ struct dev_state { uid_t disc_uid, disc_euid; void __user *disccontext; unsigned long ifclaimed; + u32 secid; }; /* internal notify stuff */ |