summaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
commitd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch)
treee2be02f33984c48ec019c654051d27964e42c441 /include/linux/sysctl.h
parent609d1e803baf519487233b765eb487f9ec227a18 (diff)
Merge with 2.3.19.
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h69
1 files changed, 60 insertions, 9 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 5d9eedc1d..c5ba9895f 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -78,7 +78,7 @@ enum
KERN_NODENAME=7,
KERN_DOMAINNAME=8,
- KERN_SECURELVL=14, /* int: system security level */
+ KERN_CAP_BSET=14, /* int: capability bounding set */
KERN_PANIC=15, /* int: panic timeout */
KERN_REALROOTDEV=16, /* real root device to mount after initrd */
@@ -100,7 +100,10 @@ enum
KERN_SHMMAX=34, /* int: Maximum shared memory segment */
KERN_MSGMAX=35, /* int: Maximum size of a messege */
KERN_MSGMNB=36, /* int: Maximum message queue size */
- KERN_MSGPOOL=37 /* int: Maximum system message pool size */
+ KERN_MSGPOOL=37, /* int: Maximum system message pool size */
+ KERN_SYSRQ=38, /* int: Sysreq enable */
+ KERN_MAX_THREADS=39, /* int: Maximum nr of threads in the system */
+ KERN_RANDOM=40 /* Random driver */
};
@@ -138,7 +141,19 @@ enum
NET_X25=13,
NET_TR=14,
NET_DECNET=15,
- NET_ECONET=16
+ NET_ECONET=16,
+ NET_KHTTPD=17
+};
+
+/* /proc/sys/kernel/random */
+enum
+{
+ RANDOM_POOLSIZE=1,
+ RANDOM_ENTROPY_COUNT=2,
+ RANDOM_READ_THRESH=3,
+ RANDOM_WRITE_THRESH=4,
+ RANDOM_BOOT_ID=5,
+ RANDOM_UUID=6
};
/* /proc/sys/bus/isa */
@@ -221,7 +236,10 @@ enum
NET_IPV4_ICMP_PARAMPROB_RATE=62,
NET_IPV4_ICMP_ECHOREPLY_RATE=63,
NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES=64,
- NET_IPV4_IGMP_MAX_MEMBERSHIPS=65
+ NET_IPV4_IGMP_MAX_MEMBERSHIPS=65,
+ NET_TCP_TW_RECYCLE=66,
+ NET_IPV4_ALWAYS_DEFRAG=67,
+ NET_IPV4_TCP_KEEPALIVE_INTVL=68,
};
enum {
@@ -239,7 +257,9 @@ enum {
NET_IPV4_ROUTE_ERROR_COST=12,
NET_IPV4_ROUTE_ERROR_BURST=13,
NET_IPV4_ROUTE_GC_ELASTICITY=14,
- NET_IPV4_ROUTE_MTU_EXPIRES=15
+ NET_IPV4_ROUTE_MTU_EXPIRES=15,
+ NET_IPV4_ROUTE_MIN_PMTU=16,
+ NET_IPV4_ROUTE_MIN_ADVMSS=17
};
enum
@@ -262,7 +282,8 @@ enum
NET_IPV4_CONF_RP_FILTER=8,
NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE=9,
NET_IPV4_CONF_BOOTP_RELAY=10,
- NET_IPV4_CONF_LOG_MARTIANS=11
+ NET_IPV4_CONF_LOG_MARTIANS=11,
+ NET_IPV4_CONF_TAG=12
};
/* /proc/sys/net/ipv6 */
@@ -280,7 +301,8 @@ enum {
NET_IPV6_ROUTE_GC_TIMEOUT=5,
NET_IPV6_ROUTE_GC_INTERVAL=6,
NET_IPV6_ROUTE_GC_ELASTICITY=7,
- NET_IPV6_ROUTE_MTU_EXPIRES=8
+ NET_IPV6_ROUTE_MTU_EXPIRES=8,
+ NET_IPV6_ROUTE_MIN_ADVMSS=9
};
enum {
@@ -405,6 +427,23 @@ enum {
NET_DECNET_DEBUG_LEVEL = 255
};
+/* /proc/sys/net/khttpd/ */
+enum {
+ NET_KHTTPD_DOCROOT = 1,
+ NET_KHTTPD_START = 2,
+ NET_KHTTPD_STOP = 3,
+ NET_KHTTPD_UNLOAD = 4,
+ NET_KHTTPD_CLIENTPORT = 5,
+ NET_KHTTPD_PERMREQ = 6,
+ NET_KHTTPD_PERMFORBID = 7,
+ NET_KHTTPD_LOGGING = 8,
+ NET_KHTTPD_SERVERPORT = 9,
+ NET_KHTTPD_DYNAMICSTRING= 10,
+ NET_KHTTPD_SLOPPYMIME = 11,
+ NET_KHTTPD_THREADS = 12,
+ NET_KHTTPD_MAXCONNECT = 13
+};
+
/* /proc/sys/net/decnet/conf/<dev> */
enum {
NET_DECNET_CONF_LOOPBACK = -2,
@@ -456,7 +495,12 @@ enum {
/* /proc/sys/dev/cdrom */
enum {
- DEV_CDROM_INFO=1
+ DEV_CDROM_INFO=1,
+ DEV_CDROM_AUTOCLOSE=2,
+ DEV_CDROM_AUTOEJECT=3,
+ DEV_CDROM_DEBUG=4,
+ DEV_CDROM_LOCK=5,
+ DEV_CDROM_CHECK_MEDIA=6
};
/* /proc/sys/dev/parport */
@@ -490,7 +534,7 @@ enum {
#ifdef __KERNEL__
-extern asmlinkage int sys_sysctl(struct __sysctl_args *);
+extern asmlinkage long sys_sysctl(struct __sysctl_args *);
extern void sysctl_init(void);
typedef struct ctl_table ctl_table;
@@ -507,10 +551,16 @@ extern int proc_dostring(ctl_table *, int, struct file *,
void *, size_t *);
extern int proc_dointvec(ctl_table *, int, struct file *,
void *, size_t *);
+extern int proc_dointvec_bset(ctl_table *, int, struct file *,
+ void *, size_t *);
extern int proc_dointvec_minmax(ctl_table *, int, struct file *,
void *, size_t *);
extern int proc_dointvec_jiffies(ctl_table *, int, struct file *,
void *, size_t *);
+extern int proc_doulongvec_minmax(ctl_table *, int, struct file *,
+ void *, size_t *);
+extern int proc_doulongvec_ms_jiffies_minmax(ctl_table *table, int,
+ struct file *, void *, size_t *);
extern int do_sysctl (int *name, int nlen,
void *oldval, size_t *oldlenp,
@@ -523,6 +573,7 @@ extern int do_sysctl_strategy (ctl_table *table,
extern ctl_handler sysctl_string;
extern ctl_handler sysctl_intvec;
+extern ctl_handler sysctl_jiffies;
extern int do_string (
void *oldval, size_t *oldlenp, void *newval, size_t newlen,