Move magic numbers into magic.h
Move various magic-number definitions into magic.h. Signed-off-by: Nick Black <dank@qemfd.net> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: "David S. Miller" <davem@davemloft.net> Cc: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
af91322ef3
commit
1fd7317d02
@@ -18,14 +18,13 @@
|
||||
#include <linux/mount.h>
|
||||
#include <linux/tty.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/magic.h>
|
||||
#include <linux/idr.h>
|
||||
#include <linux/devpts_fs.h>
|
||||
#include <linux/parser.h>
|
||||
#include <linux/fsnotify.h>
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
#define DEVPTS_SUPER_MAGIC 0x1cd1
|
||||
|
||||
#define DEVPTS_DEFAULT_MODE 0600
|
||||
/*
|
||||
* ptmx is a new node in /dev/pts and will be unused in legacy (single-
|
||||
|
Reference in New Issue
Block a user