Make sbsize a size instead of a number. This allows the usual suffixes
to be applied to the value given. This does not break installed /etc/login.conf files, since un-suffixed numbers are interpreted as they were before. PR: 19750 Submitted by: Paul Herman <pherman@frenchfries.net>
This commit is contained in:
parent
863dc9acc4
commit
02e9e6640f
@ -159,7 +159,7 @@ notation may be used.
|
||||
.It memorylocked size Maximum locked in core memory size limit.
|
||||
.It maxproc number Maximum number of processes.
|
||||
.It openfiles number Maximum number of open files per process.
|
||||
.It sbsize number Maximum permitted socketbuffer size.
|
||||
.It sbsize size Maximum permitted socketbuffer size.
|
||||
.El
|
||||
.Pp
|
||||
These resource limit entries actually specify both the maximum
|
||||
|
@ -55,7 +55,7 @@ static struct login_res {
|
||||
{ "maxproc", login_getcapnum, RLIMIT_NPROC },
|
||||
{ "openfiles", login_getcapnum, RLIMIT_NOFILE },
|
||||
{ "coredumpsize", login_getcapsize, RLIMIT_CORE },
|
||||
{ "sbsize", login_getcapnum, RLIMIT_SBSIZE },
|
||||
{ "sbsize", login_getcapsize, RLIMIT_SBSIZE },
|
||||
{ NULL, 0, 0 }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user