|
@@ -2084,7 +2084,6 @@ static int selinux_bprm_secureexec(struct linux_binprm *bprm)
|
|
static inline void flush_unauthorized_files(const struct cred *cred,
|
|
static inline void flush_unauthorized_files(const struct cred *cred,
|
|
struct files_struct *files)
|
|
struct files_struct *files)
|
|
{
|
|
{
|
|
- struct common_audit_data ad;
|
|
|
|
struct file *file, *devnull = NULL;
|
|
struct file *file, *devnull = NULL;
|
|
struct tty_struct *tty;
|
|
struct tty_struct *tty;
|
|
struct fdtable *fdt;
|
|
struct fdtable *fdt;
|
|
@@ -2116,9 +2115,6 @@ static inline void flush_unauthorized_files(const struct cred *cred,
|
|
no_tty();
|
|
no_tty();
|
|
|
|
|
|
/* Revalidate access to inherited open files. */
|
|
/* Revalidate access to inherited open files. */
|
|
-
|
|
|
|
- ad.type = LSM_AUDIT_DATA_INODE;
|
|
|
|
-
|
|
|
|
spin_lock(&files->file_lock);
|
|
spin_lock(&files->file_lock);
|
|
for (;;) {
|
|
for (;;) {
|
|
unsigned long set, i;
|
|
unsigned long set, i;
|