Lines Matching defs:str

405 	char str[32];
411 (void) snprintf(str, sizeof (str), "[%d,%d]", fds[0], fds[1]);
412 outstring(pri, str);
700 char *str = pri->code_buf;
708 *str = '\0';
710 (void) strlcat(str, "|PROT_READ", sizeof (pri->code_buf));
712 (void) strlcat(str, "|PROT_WRITE", sizeof (pri->code_buf));
714 (void) strlcat(str, "|PROT_EXEC", sizeof (pri->code_buf));
715 return ((const char *)(str + 1));
721 char *str = pri->code_buf;
727 used = strlcpy(str, "MAP_SHARED", CBSIZE);
730 used = strlcpy(str, "MAP_PRIVATE", CBSIZE);
733 used = snprintf(str, CBSIZE, "%ld", arg&MAP_TYPE);
741 (void) snprintf(str + used, sizeof (pri->code_buf) - used,
745 (void) strlcat(str, "|MAP_FIXED", CBSIZE);
747 (void) strlcat(str, "|MAP_RENAME", CBSIZE);
749 (void) strlcat(str, "|MAP_NORESERVE", CBSIZE);
751 (void) strlcat(str, "|MAP_ANON", CBSIZE);
753 (void) strlcat(str, "|MAP_ALIGN", CBSIZE);
755 (void) strlcat(str, "|MAP_TEXT", CBSIZE);
757 (void) strlcat(str, "|MAP_INITDATA", CBSIZE);
759 (void) strlcat(str, "|MAP_32BIT", CBSIZE);
762 return ((const char *)str);
1608 char str[1024];
1615 *str = '\0';
1617 (void) strlcat(str, "|PROC_SEC_ASLR", sizeof (str));
1621 (void) strlcat(str, "|PROC_SEC_FORBIDNULLMAP",
1622 sizeof (str));
1626 (void) strlcat(str, "|PROC_SEC_NOEXECSTACK",
1627 sizeof (str));
1632 (void) snprintf(str, sizeof (str), "%s|%#x", str, val);
1634 outstring(pri, str + 1);
2241 char *str = pri->code_buf;
2252 *str = '\0';
2254 (void) strlcat(str, "|R_OK", sizeof (pri->code_buf));
2256 (void) strlcat(str, "|W_OK", sizeof (pri->code_buf));
2258 (void) strlcat(str, "|X_OK", sizeof (pri->code_buf));
2260 (void) strlcat(str, "|E_OK", sizeof (pri->code_buf));
2261 return ((const char *)(str + 1));
2612 char *str = pri->code_buf;
2614 *str = '\0';
2617 (void) strlcat(str, "|" #flg, sizeof (pri->code_buf)); \
2631 if (attr != 0 || *str == '\0') {
2632 size_t len = strlen(str);
2633 (void) snprintf(str + len, sizeof (pri->code_buf) - len,
2637 return (str + 1);
2780 char *str;
2787 str = pri->code_buf;
2788 *str = '\0';
2790 (void) strlcat(str, "|FORK_NOSIGCHLD",
2793 (void) strlcat(str, "|FORK_WAITPID",
2795 outstring(pri, str + 1);