mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +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:
parent
be282c5eba
commit
c7c33eee45
@ -25,13 +25,6 @@ extern int apparmor_debug;
|
|||||||
extern int apparmor_audit;
|
extern int apparmor_audit;
|
||||||
extern int apparmor_logsyscall;
|
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)
|
static inline int mediated_filesystem(struct inode *inode)
|
||||||
{
|
{
|
||||||
return !(inode->i_sb->s_flags & MS_NOUSER);
|
return !(inode->i_sb->s_flags & MS_NOUSER);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user