• Pavel Tikhomirov's avatar
    ipc/sysctl: c/r fs.mqueue.msg_default fs.mqueue.msgsize_default · 3f976d59
    Pavel Tikhomirov authored
    we already have 3/5 fs.mqueue.xxx sysctls so why not have all:
    
    /proc/sys/fs/mqueue/msg_default is  a read/write  file for
    setting/getting the default number of messages in a queue value
    if attr parameter of mq_open(2) is NULL. If it exceed msg_max,
    the default value is initialized msg_max.
    
    /proc/sys/fs/mqueue/msgsize_default is a read/write file for
    setting/getting the default message size value if attr parameter
    of mq_open(2) is NULL. If it exceed msgsize_max, the default
    value is initialized msgsize_max.
    
    v2: remove check if kernel has sysctls as we do not support such an
    old kernel(v3.5)
    Signed-off-by: 's avatarPavel Tikhomirov <ptikhomirov@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    3f976d59
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...