[Bug 11791] New: ulimit -H/-S flags are positional
bugzilla at busybox.net
bugzilla at busybox.net
Tue Apr 23 10:23:29 UTC 2019
https://bugs.busybox.net/show_bug.cgi?id=11791
Bug ID: 11791
Summary: ulimit -H/-S flags are positional
Product: Busybox
Version: 1.30.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Standard Compliance
Assignee: unassigned at busybox.net
Reporter: thajeztah at gmail.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
When specifying the `-S` / `-H` flag _after_ the `-a` flag, the flag is
ignored:
busybox sh -c 'ulimit -a -S | grep stack && ulimit -a -H | grep stack'
-s: stack size (kb) 8192
-s: stack size (kb) 8192
busybox sh -c 'ulimit -aS | grep stack && ulimit -aH | grep stack'
-s: stack size (kb) 8192
-s: stack size (kb) 8192
Changing the order to put the `-S` / `-H` _before_ `-a`, and the correct values
are shown;
busybox sh -c 'ulimit -S -a | grep stack && ulimit -H -a | grep stack'
-s: stack size (kb) 8192
-s: stack size (kb) unlimited
busybox sh -c 'ulimit -Sa | grep stack && ulimit -Ha | grep stack'
-s: stack size (kb) 8192
-s: stack size (kb) unlimited
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list