]> sourceware.org Git - systemtap.git/commit
PR27067: set procfs traceNN files' uid/gid too
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 24 Jan 2021 19:45:54 +0000 (14:45 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Sun, 24 Jan 2021 19:45:54 +0000 (14:45 -0500)
commitcd5b72a538a404011d27d86ff958355ac2c45b8d
tree57a7c860725028313b1e067b202e71e737a33e09
parente8ac3e2966668f6c4cfa877a8254f6533e20a82a
PR27067: set procfs traceNN files' uid/gid too

commit e3d03db828 neglected to include the proper calls to set the
procfs traceNN files to the correct uid/gid ownership.  With those
files left as uid/gid=0/0, stapio running with a user with
stapusr/stapdev privileges couldn't fopenat() those files.  Now they
can again.  This problem became obvious after commit 4706ab3ca5c0,
which makes STAP_TRANS_PROCFS the default.
runtime/transport/procfs.c
This page took 0.026177 seconds and 5 git commands to generate.