summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-patch-uid.h
blob: 3a931b224052d0f5b3acfb819744302d1972cf8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
  This file is part of systemd.

  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);