Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170013
b: refs/heads/master
c: 2fb1073
h: refs/heads/master
i:
  170011: b07142a
v: v3
  • Loading branch information
Eric W. Biederman committed Nov 12, 2009
1 parent ce4a3a0 commit 221a61f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: 2315ffa0a9f789c588c7139effa7404a387d8685
refs/heads/master: 2fb10732c3b3c9671b1a391996ce7e551876c25e
8 changes: 1 addition & 7 deletions trunk/kernel/sysctl_binary.c
Original file line number Diff line number Diff line change
Expand Up @@ -1393,15 +1393,9 @@ static ssize_t binary_sysctl(const int *name, int nlen,

static void deprecated_sysctl_warning(const int *name, int nlen)
{
static int msg_count;
int i;

/* Ignore accesses to kernel.version */
if ((nlen == 2) && (name[0] == CTL_KERN) && (name[1] == KERN_VERSION))
return;

if (msg_count < 5) {
msg_count++;
if (printk_ratelimit()) {
printk(KERN_INFO
"warning: process `%s' used the deprecated sysctl "
"system call with ", current->comm);
Expand Down

0 comments on commit 221a61f

Please sign in to comment.