summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/strdup.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-02-29 21:06:45 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-02-29 21:06:45 +0100
commit69e28c6513866152265fb11c2424afe69f0323d3 (patch)
tree06672a2fdc982483007ebc8fea310ffc92792a26 /sys/src/cmd/python/Python/strdup.c
parent17a92f3995976b5d7618d1a2442e0028c1b192de (diff)
kernel: simplify exec()
progarg[0] can be assigned to elem directly as it is a copy in kernel memory, so the char proelem[64] buffer is not neccesary. do the close-on-exit outside of the segment lock. there is no reason to keep the segment table locked.
Diffstat (limited to 'sys/src/cmd/python/Python/strdup.c')
0 files changed, 0 insertions, 0 deletions