public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
ec47038843915cb086762f302e32e7b9c61eae42 blob 538 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright Red Hat
 * Author: Stefano Brivio <sbrivio@redhat.com>
 * Author: David Gibson <david@gibson.dropbear.id.au>
 */

#ifndef ISOLATION_H
#define ISOLATION_H

#include <stdbool.h>
#include <unistd.h>

void isolate_initial(void);
int isolate_fds(int argc, char **argv);
void isolate_user(const struct ctx *c, uid_t uid, gid_t gid, bool use_userns,
		  const char *userns);
int isolate_prefork(const struct ctx *c);
void isolate_postfork(const struct ctx *c);

#endif /* ISOLATION_H */
debug log:

solving ec470388 ...
found ec470388 in https://archives.passt.top/passt-dev/20260717054634.1293553-4-david@gibson.dropbear.id.au/
found e1b1bc5d in https://archives.passt.top/passt-dev/20260717054634.1293553-3-david@gibson.dropbear.id.au/
found 66b6968d in https://passt.top/passt
preparing index
index prepared:
100644 66b6968d0710d32426d9ff74534656100be2ed4a	isolation.h

applying [1/2] https://archives.passt.top/passt-dev/20260717054634.1293553-3-david@gibson.dropbear.id.au/
diff --git a/isolation.h b/isolation.h
index 66b6968d..e1b1bc5d 100644


applying [2/2] https://archives.passt.top/passt-dev/20260717054634.1293553-4-david@gibson.dropbear.id.au/
diff --git a/isolation.h b/isolation.h
index e1b1bc5d..ec470388 100644

Checking patch isolation.h...
Applied patch isolation.h cleanly.
Checking patch isolation.h...
Applied patch isolation.h cleanly.

index at:
100644 ec47038843915cb086762f302e32e7b9c61eae42	isolation.h

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).