mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-11 13:10:32 +00:00
mrefile/mdeliver: -M needs the `fattr' pledge promise for utimes(2)
Message-Id: <2Z5ISO2SNIGZU.2E8B1F41F84RV@venera>
This commit is contained in:
parent
e6813fd07c
commit
9d66764434
@ -355,7 +355,11 @@ usage2:
|
||||
if (argc != optind+1)
|
||||
goto usage2;
|
||||
|
||||
xpledge("stdio rpath wpath cpath", "");
|
||||
xpledge("stdio rpath wpath cpath fattr", "");
|
||||
if (!preserve_mtime && !Mflag) {
|
||||
/* drop fattr */
|
||||
xpledge("stdio rpath wpath cpath", "");
|
||||
}
|
||||
|
||||
targetdir = argv[optind];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user