summaryrefslogtreecommitdiff
path: root/libmisc/idmapping.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2022-08-20 18:17:29 +0200
committerBalint Reczey <balint@balintreczey.hu>2022-08-20 18:17:29 +0200
commit69ca70f20204c63dca3ae4f85dd9a37188dcfc0b (patch)
treefd3a6ed4ed4551b63d0f9ed74690c8fbcaf2f7df /libmisc/idmapping.h
parent8d8547f65fc0474fa335d04201ee9c2ccb9aa773 (diff)
parent675b462b64b213647d0f5c56b1e8440be5890c8a (diff)
downloadshadow-69ca70f20204c63dca3ae4f85dd9a37188dcfc0b.tar.gz
Update upstream source from tag 'upstream/4.12.2+dfsg1'
Update to upstream version '4.12.2+dfsg1' with Debian dir 52044f35b7f4073e1929e253a646847ef319cac4
Diffstat (limited to 'libmisc/idmapping.h')
-rw-r--r--libmisc/idmapping.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmisc/idmapping.h b/libmisc/idmapping.h
index e3527606..46d46312 100644
--- a/libmisc/idmapping.h
+++ b/libmisc/idmapping.h
@@ -7,6 +7,8 @@
#ifndef _IDMAPPING_H_
#define _IDMAPPING_H_
+#include <sys/types.h>
+
struct map_range {
unsigned long upper; /* first ID inside the namespace */
unsigned long lower; /* first ID outside the namespace */
@@ -15,9 +17,7 @@ struct map_range {
extern struct map_range *get_map_ranges(int ranges, int argc, char **argv);
extern void write_mapping(int proc_dir_fd, int ranges,
- struct map_range *mappings, const char *map_file, uid_t ruid);
-
-extern void nss_init(char *nsswitch_path);
+ const struct map_range *mappings, const char *map_file, uid_t ruid);
#endif /* _ID_MAPPING_H_ */