summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-06-20 14:55:53 +0000
committersobomax <sobomax@FreeBSD.org>2002-06-20 14:55:53 +0000
commit8e683e45efc4dc54cc0c85c2d7de550694a4abc9 (patch)
treeddf5635a9feec3b37cefc9360e53c9cb30fa1cf9 /sys/kern/kern_exec.c
parentddd0934a7cf74148bd18ae54dfa8ce6c3b92be2a (diff)
downloadFreeBSD-src-8e683e45efc4dc54cc0c85c2d7de550694a4abc9.zip
FreeBSD-src-8e683e45efc4dc54cc0c85c2d7de550694a4abc9.tar.gz
Don't try to decode old-style options if the argv[1] begins with `-' and the
second character represents some option taking an argument. This fixes problem when ps(1) is invoked for examply as follows: $ ps -Ufoobar1234 the above example results in option string being interpreted as -U foobarp1234 - note extra `p'. Reported by: Vladimir Sotnikov <vovan@kyivstar.net> MFC after: 2 weeks
Diffstat (limited to 'sys/kern/kern_exec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud