.. | .. |
---|
10 | 10 | #define _LINUX_ANON_INODES_H |
---|
11 | 11 | |
---|
12 | 12 | struct file_operations; |
---|
| 13 | +struct inode; |
---|
13 | 14 | |
---|
14 | 15 | struct file *anon_inode_getfile(const char *name, |
---|
15 | 16 | const struct file_operations *fops, |
---|
16 | 17 | void *priv, int flags); |
---|
17 | 18 | int anon_inode_getfd(const char *name, const struct file_operations *fops, |
---|
18 | 19 | void *priv, int flags); |
---|
| 20 | +int anon_inode_getfd_secure(const char *name, |
---|
| 21 | + const struct file_operations *fops, |
---|
| 22 | + void *priv, int flags, |
---|
| 23 | + const struct inode *context_inode); |
---|
19 | 24 | |
---|
20 | 25 | #endif /* _LINUX_ANON_INODES_H */ |
---|
21 | 26 | |
---|