| 1474 | out[1] = (unsigned char)(n >> 8); |
| 1475 | } |
| 1476 | static void pt_le32(unsigned char *out, uint32_t n) { |
| 1477 | for (size_t i = 0; i < 4; i++) |
| 1478 | out[i] = (unsigned char)(n >> (8 * i)); |
| 1479 | } |
| 1480 | |
| 1481 | static bool pt_linux_acl(const char *path, bool defaults, bool install) { |
| 1482 | const char *key = defaults ? "system.posix_acl_default" : "system.posix_acl_access"; |