Lines Matching refs:rights

367 	/* standard owner (and administrator) rights */
374 /* standard world rights */
386 * we use rights always granted to anybody, so they have no impact
600 fprintf(stderr,"You need Administrator rights to open \"%s\"\n",
897 fprintf(file,"You probably need Administrator rights\n");
1282 u32 rights;
1323 rights = get4l(attr,off+4);
1324 printf("%*cAcc rgts 0x%lx\n",-level,marker,(long)rights);
1325 printf("%*cObj specific acc rgts 0x%lx\n",-level-4,marker,(long)rights & 65535);
1327 if (rights & 0x01)
1329 if (rights & 0x02)
1331 if (rights & 0x04)
1333 if (rights & 0x08)
1335 if (rights & 0x10)
1337 if (rights & 0x20)
1339 if (rights & 0x40)
1341 if (rights & 0x80)
1343 if (rights & 0x100)
1348 if (rights & 0x01)
1350 if (rights & 0x02)
1352 if (rights & 0x04)
1354 if (rights & 0x08)
1356 if (rights & 0x10)
1358 if (rights & 0x20)
1360 if (rights & 0x80)
1362 if (rights & 0x100)
1365 printf("%*cstandard acc rgts 0x%lx\n",-level-4,marker,(long)(rights >> 16) & 127);
1366 if (rights & 0x10000)
1368 if (rights & 0x20000)
1370 if (rights & 0x40000)
1372 if (rights & 0x80000)
1374 if (rights & 0x100000)
1376 if (rights & 0x800000)
1378 if (rights & 0x10000000)
1380 if (rights & 0x20000000)
1382 if (rights & 0x40000000)
1384 if (rights & 0x80000000)
1394 if (rights & le32_to_cpu(FILE_GREAD | FILE_GWRITE | FILE_GEXEC)) {
1396 if (rights & le32_to_cpu(FILE_GREAD))
1398 if (rights & le32_to_cpu(FILE_GWRITE))
1400 if (rights & le32_to_cpu(FILE_GEXEC))
2461 * Merge Posix ACL rights into an u32 (self test only)
2476 u32 rights;
2478 rights = 0;
2492 rights |= (pxace[i].perms & 7) << 6;
2496 rights |= ((u32)pxace[i].perms & 7) << (24 - 3*users);
2500 rights |= (pxace[i].perms & 7) << 3;
2504 rights |= ((u32)pxace[i].perms & 7) << (18 - 3*groups);
2508 rights |= ((u32)pxace[i].perms & 7) << 12;
2511 rights |= (pxace[i].perms & 7);
2517 return (rights);
3144 printf(" Posix access rights 0%03lo expected 0%03lo\n",
3146 printf(" default rights 0%03lo expected 0%03lo\n",