mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Move magic numbers into magic.h
Move various magic-number definitions into magic.h. Signed-off-by: Nick Black <[email protected]> Acked-by: Pekka Enberg <[email protected]> Cc: Al Viro <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Casey Schaufler <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
af91322ef3
commit
1fd7317d02
5 changed files with 9 additions and 14 deletions
|
|
@ -30,17 +30,11 @@
|
|||
#include <net/netlabel.h>
|
||||
#include <net/cipso_ipv4.h>
|
||||
#include <linux/audit.h>
|
||||
#include <linux/magic.h>
|
||||
#include "smack.h"
|
||||
|
||||
#define task_security(task) (task_cred_xxx((task), security))
|
||||
|
||||
/*
|
||||
* I hope these are the hokeyist lines of code in the module. Casey.
|
||||
*/
|
||||
#define DEVPTS_SUPER_MAGIC 0x1cd1
|
||||
#define SOCKFS_MAGIC 0x534F434B
|
||||
#define TMPFS_MAGIC 0x01021994
|
||||
|
||||
/**
|
||||
* smk_fetch - Fetch the smack label from a file.
|
||||
* @ip: a pointer to the inode
|
||||
|
|
|
|||
Loading…
Reference in a new issue