diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2022-11-19 23:58:51 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2022-11-19 23:58:51 +0000 |
commit | 58812e74d3a0ab14b528933e1953ae28c8f9f627 (patch) | |
tree | 7fea76965bcb62478a6c8a3f04479de287b7aa05 /docs/changes.xsls | |
parent | b9c1a2977b161e6befbc1fa770f6fe482ea3e9ca (diff) | |
download | unit-58812e74d3a0ab14b528933e1953ae28c8f9f627.tar.gz unit-58812e74d3a0ab14b528933e1953ae28c8f9f627.tar.bz2 |
Isolation: Remove the syscall(SYS_getpid) wrapper.
When using SYS_clone we used the getpid kernel system call directly via
syscall(SYS_getpid) to avoid issues with cached pids.
However since we are now only using fork(2) (+ unshare(2) for
namespaces) we no longer need to call the kernel getpid directly as the
fork(2) will ensure the cached pid is invalidated.
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'docs/changes.xsls')
0 files changed, 0 insertions, 0 deletions