Home | History | Annotate | Download | only in utils

Lines Matching refs:printf

62 		printf("Error getting capabilities\n");
73 printf("Attempting to regain root...");
77 printf("SUCCESS - PRIVILEGE ESCALATION POSSIBLE\n");
82 printf("FAILED\n");
84 printf("Child ");
86 printf("User credentials uid:%d euid:%d suid:%d\n", uid, euid, suid);
88 printf("Child ");
89 printf("Group credentials gid:%d egid:%d sgid:%d\n", gid, egid, sgid);
91 printf("Note: app has mismatching credentials!!\n");
97 printf("Child capabilities: none\n");
99 printf("Current capabilities: none\n");
102 printf("Child ");
103 printf("Effective: ");
106 printf("\n");
108 printf("Child ");
109 printf("Permitted: ");
112 printf("\n");
114 printf("Child ");
115 printf("Inheritable: ");
118 printf("\n");
120 printf("Child ");
121 printf("Bounding Set: ");
124 printf("\n");
129 printf("Child capabilities: none\n");
131 printf("Current capabilities: none\n");
134 printf("Child capabilities:\n");
143 printf("Child ");
144 printf("securebits flags: ");
147 printf("NOROOT");
153 printf(", ");
154 printf("NOROOT_LOCKED");
160 printf(", ");
161 printf("NO_SETUID_FIXUP");
167 printf(", ");
168 printf("NO_SETUID_FIXUP_LOCKED");
172 printf("none");
173 printf("\n");
177 printf("Attempting direct access to shadow...");
179 printf("SUCCESS\n");
181 printf("FAILED (%s)\n", strerror(errno));
184 printf("Attempting to access shadow by child process...");
187 printf("SUCCESS\n");
189 printf("FAILED\n");
199 printf("usage: captest [ --drop-all | --drop-caps | --id ] [ --lock ] [ --text ]\n");
249 printf("Error changing uid: %d\n", rc);
252 printf("\n");
255 printf("Keeping CAP_CHOWN to show capabilities across uid change.\n");