]> git.ipfire.org Git - thirdparty/systemd.git/commit
fs-util: introduce fchmod_and_chown()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Jun 2018 02:26:29 +0000 (11:26 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Jun 2018 02:47:57 +0000 (11:47 +0900)
commitb8da477eaf6c775e8c82aad43a4511f7609b0b69
tree8cf6ce4932fcce1775eca9f47e649ba150141b65
parent08ebe56b2e911004713c74d5a41c5c577d6156d0
fs-util: introduce fchmod_and_chown()

The new function fchmod_and_chown() is almost same as chmod_and_chown()
except it takes file descriptor instead of file path.
src/basic/fs-util.c
src/basic/fs-util.h