Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48383
b: refs/heads/master
c: 2abc26f
h: refs/heads/master
i:
  48381: 74156c8
  48379: 4f69a99
  48375: 4a17b40
  48367: 6d0633b
  48351: b474eb8
  48319: 5c3f9e5
  48255: 1eecad7
  48127: 80eb318
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Feb 14, 2007
1 parent 9d7cb8f commit d4416ff
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5494dcd8b92dce64317f2f7dd0d62747c54980b
refs/heads/master: 2abc26fc6b6f60fc70d6957b842ef4e5f805df7b
4 changes: 0 additions & 4 deletions trunk/fs/proc/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ void __init proc_root_init(void)
#endif
#ifdef CONFIG_SYSCTL
proc_sys_root = proc_mkdir("sys", NULL);
#endif
#if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE)
proc_mkdir("sys/fs", NULL);
proc_mkdir("sys/fs/binfmt_misc", NULL);
#endif
proc_root_fs = proc_mkdir("fs", NULL);
proc_root_driver = proc_mkdir("driver", NULL);
Expand Down
14 changes: 14 additions & 0 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,12 @@ static ctl_table vm_table[] = {
{ .ctl_name = 0 }
};

#if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE)
static ctl_table binfmt_misc_table[] = {
{ .ctl_name = 0 }
};
#endif

static ctl_table fs_table[] = {
{
.ctl_name = FS_NRINODE,
Expand Down Expand Up @@ -1004,6 +1010,14 @@ static ctl_table fs_table[] = {
.mode = 0644,
.proc_handler = &proc_dointvec,
},
#if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE)
{
.ctl_name = CTL_UNNUMBERED,
.procname = "binfmt_misc",
.mode = 0555,
.child = binfmt_misc_table,
},
#endif
{ .ctl_name = 0 }
};

Expand Down

0 comments on commit d4416ff

Please sign in to comment.