public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
4b8f822a391b9d0548b393e437fd14fc0e87bcd9 blob 532 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(struct ctx *c);
void isolate_postfork(const struct ctx *c);

#endif /* ISOLATION_H */
debug log:

solving 4b8f822 ...
found 4b8f822 in https://archives.passt.top/passt-dev/20261101213354.15868-1-adityamerchant08@gmail.com/
found ec47038 in https://passt.top/passt
preparing index
index prepared:
100644 ec47038843915cb086762f302e32e7b9c61eae42	isolation.h

applying [1/1] https://archives.passt.top/passt-dev/20261101213354.15868-1-adityamerchant08@gmail.com/
diff --git a/isolation.h b/isolation.h
index ec47038..4b8f822 100644

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

index at:
100644 4b8f822a391b9d0548b393e437fd14fc0e87bcd9	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).