Rename hidden keyword to _Hide

This commit is contained in:
Justine Tunney 2022-11-08 11:39:50 -08:00
parent 251dcb07eb
commit bf7843833f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
112 changed files with 616 additions and 3290 deletions

View file

@ -27,8 +27,8 @@
* strace -vff bash -c '_PLEDGE=4194303,0 LD_PRELOAD=$HOME/sandbox.so ls'
*/
hidden uint8_t __privileged_start[1];
hidden uint8_t __privileged_end[1];
_Hide uint8_t __privileged_start[1];
_Hide uint8_t __privileged_end[1];
__attribute__((__constructor__)) void init(void) {
int c, i, j;

View file

@ -119,7 +119,7 @@ char g_hostname[128];
uint16_t g_runitdport;
volatile bool alarmed;
int __sys_execve(const char *, char *const[], char *const[]) hidden;
int __sys_execve(const char *, char *const[], char *const[]) _Hide;
static void OnAlarm(int sig) {
alarmed = true;

View file

@ -117,7 +117,7 @@ Keywords={
"nullterminated",
"unreachable",
"notpossible",
"hidden",
"_Hide",
"privileged",
"hasatleast",
"nodebuginfo",

View file

@ -61,7 +61,7 @@
"nullterminated"
"unreachable"
"notpossible"
"hidden"
"_Hide"
"privileged"
"hasatleast"
"nodebuginfo"

View file

@ -337,7 +337,7 @@ cosmo_kws = frozenset([
"forceinline",
"frownedupon",
"hasatleast",
"hidden",
"_Hide",
"initarray",
"interruptfn",
"mallocesque",
@ -399,7 +399,7 @@ cosmo_kws = frozenset([
"forceinline",
"frownedupon",
"hasatleast",
"hidden",
"_Hide",
"initarray",
"interruptfn",
"mallocesque",