mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 16:47:27 -04:00
unix: add Renameat2 on Linux
Renameat2 is Linux-specific and allows to pass an additional flags argument to the renameat syscall. Also add the corresponding RENAME_* flag mask values. Change-Id: Ib4baa46fdd0b07ccd0988ac624862ce69d5c3ad5 Reviewed-on: https://go-review.googlesource.com/127763 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
34b17bdb43
commit
2be389f392
@@ -441,6 +441,7 @@ ccflags="$@"
|
||||
$2 ~ /^CGROUPSTATS_/ ||
|
||||
$2 ~ /^GENL_/ ||
|
||||
$2 ~ /^STATX_/ ||
|
||||
$2 ~ /^RENAME/ ||
|
||||
$2 ~ /^UTIME_/ ||
|
||||
$2 ~ /^XATTR_(CREATE|REPLACE|NO(DEFAULT|FOLLOW|SECURITY)|SHOWCOMPRESSION)/ ||
|
||||
$2 ~ /^ATTR_(BIT_MAP_COUNT|(CMN|VOL|FILE)_)/ ||
|
||||
|
||||
Reference in New Issue
Block a user