summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-patch-uid.h
blob: dd215b6512c0ceae5af5ab037871a5809c817624 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
  Copyright 2016 Lennart Poettering
***/

#pragma once

#include <sys/types.h>

int fd_patch_uid(int fd, uid_t shift, uid_t range);
int path_patch_uid(const char *path, uid_t shift, uid_t range);