Fixing invalid reads in find_elf_note due to setenv invocation
[platform/upstream/procps-ng.git] / sysctl.conf
1 # /etc/sysctl.conf - Configuration file for setting system variables
2 # See sysctl.conf (5) for information.
3
4 # you can have the CD-ROM close when you use it, and open
5 # when you are done.
6 #dev.cdrom.autoeject = 1
7 #dev.cdrom.autoclose = 1
8
9 # protection from the SYN flood attack
10 net/ipv4/tcp_syncookies=1
11
12 # see the evil packets in your log files
13 net/ipv4/conf/all/log_martians=1
14
15 # makes you vulnerable or not :-)
16 net/ipv4/conf/all/accept_redirects=0
17 net/ipv4/conf/all/accept_source_route=0
18 net/ipv4/icmp_echo_ignore_broadcasts =1
19
20 # needed for routing, including masquerading or NAT
21 #net/ipv4/ip_forward=1
22
23 # sets the port range used for outgoing connections
24 #net.ipv4.ip_local_port_range = 32768    61000
25
26 # Broken routers and obsolete firewalls will corrupt the window scaling
27 # and ECN. Set these values to 0 to disable window scaling and ECN.
28 # This may, rarely, cause some performance loss when running high-speed
29 # TCP/IP over huge distances or running TCP/IP over connections with high
30 # packet loss and modern routers. This sure beats dropped connections.
31 #net.ipv4.tcp_ecn = 0
32
33 # Swapping too much or not enough? Disks spinning up when you'd
34 # rather they didn't? Tweak these.
35 #vm.vfs_cache_pressure = 100
36 #vm.laptop_mode = 0
37 #vm.swappiness = 60
38
39 #kernel.printk_ratelimit_burst = 10
40 #kernel.printk_ratelimit = 5
41 #kernel.panic_on_oops = 0
42
43 # Reboot 600 seconds after a panic
44 #kernel.panic = 600
45
46 # enable SysRq key (note: console security issues)
47 #kernel.sysrq = 1
48
49 # Change name of core file to start with the command name
50 # so you get things like: emacs.core mozilla-bin.core X.core
51 #kernel.core_pattern = %e.core
52
53 # NIS/YP domain (not always equal to DNS domain)
54 #kernel.domainname = example.com
55 #kernel.hostname = darkstar
56
57 # This limits PID values to 4 digits, which allows tools like ps
58 # to save screen space.
59 kernel/pid_max=10000