Lines Matching refs:toys
64 #include "toys.h"
72 if (toys.optflags&FLAG_n) printf("%s", s);
93 flags = toys.optflags;
105 if (toys.optflags&FLAG_u) s_or_u(pw->pw_name, pw->pw_uid, 1);
110 if (!(toys.optflags&(FLAG_G|FLAG_g|FLAG_Z))) {
128 if (!(toys.optflags&FLAG_Z)) {
135 int show_separator = !(toys.optflags&FLAG_G);
137 if (show_separator) xputc((toys.optflags&FLAG_G) ? ' ' : ',');
140 else if (toys.optflags&FLAG_G) s_or_u(grp->gr_name, grp->gr_gid, 0);
144 if (toys.optflags&FLAG_G) {
154 printf(" context=%s"+!!(toys.optflags&FLAG_Z), context);
156 } else if (toys.optflags&FLAG_Z) error_exit("%s disabled", lsm_name());
164 if (toys.optc) while(*toys.optargs) do_id(*toys.optargs++);
171 toys.optflags = FLAG_G|FLAG_n;
177 toys.optflags = FLAG_u|FLAG_n;