diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-02-28 16:41:09 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-02-28 16:41:09 +0100 |
commit | ff3e0eeb22816208360db3c87e501c5de7d998e3 (patch) | |
tree | 7f67b5942031926fedefcf4c766ba74bc2342fc6 /sys/src/cmd/python/Python/strdup.c | |
parent | 3df95385bcc5294a212534d0991f1ffef1454aca (diff) |
devproc: cleanup procwrite size checks
writes to /proc/n/notepg and /proc/n/note should be able to write
at ERRMAX-1 bytes, not ERRMAX-2.
simplify write to /proc/n/args by just copying to local buf first
and then doing a kstrdup(). the value of Proc.nargs does not matter
when Proc.setargs is 1.
Diffstat (limited to 'sys/src/cmd/python/Python/strdup.c')
0 files changed, 0 insertions, 0 deletions