kubo/cmd/ipfs
hoenirvili f16ada6159 This patch contains more safe checking in syscall rlimit and unit tests
The soft limit is the value that the kernel enforces for the corresponding resource
The hard limit acts as a ceiling for the soft limit
an unprivileged process may only set its soft limit to a value
in the range from 0 up to the hard limit.
So in order to make the change in fds count without any error we should
inform the user to make the process have CAP_SYS_RESOURCE capability
in order to set the hard limit.

License: MIT
Signed-off-by: hoenirvili <hoenirvili@gmail.com>
2017-12-04 17:27:00 -05:00
..
dist README.md: Add sudo to install commands. 2016-09-10 12:40:54 +02:00
util This patch contains more safe checking in syscall rlimit and unit tests 2017-12-04 17:27:00 -05:00
.gitignore make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
daemon.go This patch contains more safe checking in syscall rlimit and unit tests 2017-12-04 17:27:00 -05:00
init.go cmds: rename DefaultVal -> Default, Default -> WithDefault 2017-11-20 22:20:49 -08:00
ipfs.go update go-ipfs-cmds to 0.4.11 2017-11-22 19:06:00 +01:00
main_test.go gx: massive update 2017-11-20 22:20:27 -08:00
main.go fix panic on ipfs add and Ctrl+C 2017-11-29 12:32:51 +01:00
Rules.mk mk: option to pass custom go executable 2017-08-22 20:04:08 +02:00
runmain_test.go make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00