]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Include "openat.h".
authorJim Meyering <jim@meyering.net>
Tue, 17 Jan 2006 17:26:15 +0000 (17:26 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 17 Jan 2006 17:26:15 +0000 (17:26 +0000)
commit0ca8bc42738739a3f92be9968d5af13bc7ec8faf
treec8c8c185bc3d9a97ed391813d254fbe519e42ea2
parentc97a36e2d9ff86871bf40b2670149f647ccc958a
Include "openat.h".
Don't include "lchown.h".
(restricted_chown): Accept a new parameter, CWD_FD, and use it in
calling openat, lchownat, chownat, rather than open, lchown, chown.
Update caller.
src/chown-core.c