summaryrefslogtreecommitdiff
path: root/procfs.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-07-16 10:51:21 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-20 17:52:52 +0200
commit641249f6b143c4e22825e18e0dbe22bb04d21138 (patch)
tree5a58963f268df6fe984ca43ca72b3556515fbfaf /procfs.h
parentb1a3f96a8139c5ed3aac7b8a77b06ba4c0a877c7 (diff)
Fix default file ownership
Formerly all nodes were created so that they were owned by root:root by default. This causes problems if the procfs translator is running as unprivileged user and serves passive translator records, because the file ownership is being used as credentials for starting translators. This obviously fails if the procfs translator is not root but is trying to acquire credentials including uid/gid 0. Fix this by using the uid/gid of the procfs translator by default. procfs.c (procfs_make_node): Fix default node ownership.
Diffstat (limited to 'procfs.h')
0 files changed, 0 insertions, 0 deletions