hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/include/linux/anon_inodes.h
....@@ -10,12 +10,17 @@
1010 #define _LINUX_ANON_INODES_H
1111
1212 struct file_operations;
13
+struct inode;
1314
1415 struct file *anon_inode_getfile(const char *name,
1516 const struct file_operations *fops,
1617 void *priv, int flags);
1718 int anon_inode_getfd(const char *name, const struct file_operations *fops,
1819 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);
1924
2025 #endif /* _LINUX_ANON_INODES_H */
2126