Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74362
b: refs/heads/master
c: 32df81c
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Emelyanov authored and Linus Torvalds committed Nov 29, 2007
1 parent 35bd99d commit 2760d7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48986f06b6bc6f435debcfad0a748ce35f0a52df
refs/heads/master: 32df81cbd5b41d281cc3d7e7ff6a98ac6201e197
4 changes: 4 additions & 0 deletions trunk/kernel/utsname_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
static void *get_uts(ctl_table *table, int write)
{
char *which = table->data;
struct uts_namespace *uts_ns;

uts_ns = current->nsproxy->uts_ns;
which = (which - (char *)&init_uts_ns) + (char *)uts_ns;

if (!write)
down_read(&uts_sem);
Expand Down

0 comments on commit 2760d7e

Please sign in to comment.