Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0d0ed42e5ca2e22465c591341839c18025748fe8
Commit:     0d0ed42e5ca2e22465c591341839c18025748fe8
Parent:     7eacbbd32a98ab5b607f7773bb2692cc195db9b2
Author:     Alexey Dobriyan <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 00:38:18 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 15:39:39 2007 -0700

    Add CTL_PROC back
    
    commit eab03ac7bd3e0da99eb9dc068772a85a5e3f3577 aka
    "[PATCH] Get rid of /proc/sys/proc" was good commit except strace(1) compile
    breakage it introduced:
    
        system.c:1581: error: 'CTL_PROC' undeclared here (not in a function)
    
    So, add dummy enum back.
    
    Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
    Cc: Stephen Hemminger <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 include/linux/sysctl.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 47f1c53..483050c 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -62,7 +62,7 @@ enum
        CTL_KERN=1,             /* General kernel info and control */
        CTL_VM=2,               /* VM management */
        CTL_NET=3,              /* Networking */
-       /* was CTL_PROC */
+       CTL_PROC=4,             /* removal breaks strace(1) compilation */
        CTL_FS=5,               /* Filesystems */
        CTL_DEBUG=6,            /* Debugging */
        CTL_DEV=7,              /* Devices */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to