kernel/fs/tracefs/inode.c
.. .. @@ -553,6 +553,9 @@ 553 553 */ 554 554 struct dentry *tracefs_create_dir(const char *name, struct dentry *parent) 555 555 { 556 + if (security_locked_down(LOCKDOWN_TRACEFS))557 + return NULL;558 +556 559 return __create_dir(name, parent, &simple_dir_inode_operations); 557 560 } 558 561