2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 13:28:19 +00:00

Kill no longer needed filesystem type #defines; checking MS_NOUSER

obviates the need for them (and they're no longer refeenced).
This commit is contained in:
Steve Beattie 2007-03-23 17:23:15 +00:00
parent be282c5eba
commit c7c33eee45

View File

@ -25,13 +25,6 @@ extern int apparmor_debug;
extern int apparmor_audit;
extern int apparmor_logsyscall;
/* PIPEFS_MAGIC */
#include <linux/pipe_fs_i.h>
/* from net/socket.c */
#define SOCKFS_MAGIC 0x534F434B
/* from inotify.c */
#define INOTIFYFS_MAGIC 0xBAD1DEA
static inline int mediated_filesystem(struct inode *inode)
{
return !(inode->i_sb->s_flags & MS_NOUSER);