| commit | 2891f3e0e4b5853e39c742b7a8928f765c32ec9c | [log] [tgz] |
|---|---|---|
| author | Elliott Hughes <enh@google.com> | Fri Feb 21 23:21:28 2020 -0800 |
| committer | Elliott Hughes <enh@google.com> | Tue Feb 25 10:44:52 2020 -0800 |
| tree | 5cd4030ebdc2b1f6c596f1c62b1ca1c9aa60adba | |
| parent | 545477ba2ebe28cf416e37d39f8ea1e530661630 [diff] [blame] |
Add a libc wrapper for statx(2). Bug: http://b/127675384 Bug: http://b/146676114 Test: treehugger Change-Id: I844edc12f62717e579870a040cf03dfe60dc280b (cherry picked from commit 733cedd1c4696ea74dab34d629ef7ac28ecc2200)
diff --git a/libc/include/bits/fortify/stat.h b/libc/include/bits/fortify/stat.h index e92e6ac..2d42a51 100644 --- a/libc/include/bits/fortify/stat.h +++ b/libc/include/bits/fortify/stat.h
@@ -26,9 +26,7 @@ * SUCH DAMAGE. */ -#ifndef _SYS_STAT_H_ -#error "Never include this file directly; instead, include <sys/stat.h>" -#endif +#pragma once mode_t __umask_chk(mode_t) __INTRODUCED_IN(18); mode_t __umask_real(mode_t mode) __RENAME(umask);