Commit 830d92b0 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

headers: Unify include guards (in comments) and a few fixes

 - fix names in comments
 - add empty lines where needed
 - fix rbtree.h
 - fix syscall-types.h
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 439637fb
...@@ -57,4 +57,4 @@ typedef struct { ...@@ -57,4 +57,4 @@ typedef struct {
ret__ != 0; \ ret__ != 0; \
}) })
#endif /* ATOMIC_H__ */ #endif /* __CR_ATOMIC_H__ */
...@@ -115,4 +115,4 @@ found_middle: ...@@ -115,4 +115,4 @@ found_middle:
# error x86-32 is not implemented yet # error x86-32 is not implemented yet
#endif /* CONFIG_X86_64 */ #endif /* CONFIG_X86_64 */
#endif /* CR_BITOPS_H_ */ #endif /* __CR_BITOPS_H__ */
...@@ -68,4 +68,4 @@ ...@@ -68,4 +68,4 @@
#define is_log2(v) (((v) & ((v) - 1)) == 0) #define is_log2(v) (((v) & ((v) - 1)) == 0)
#endif /* CR_COMPILER_H_ */ #endif /* __CR_COMPILER_H__ */
...@@ -20,4 +20,4 @@ extern void cpu_set_feature(unsigned int feature); ...@@ -20,4 +20,4 @@ extern void cpu_set_feature(unsigned int feature);
extern bool cpu_has_feature(unsigned int feature); extern bool cpu_has_feature(unsigned int feature);
extern int cpu_init(void); extern int cpu_init(void);
#endif /* CPU_H__ */ #endif /* __CR_CPU_H__ */
...@@ -239,4 +239,4 @@ static inline int in_vma_area(struct vma_area *vma, unsigned long addr) ...@@ -239,4 +239,4 @@ static inline int in_vma_area(struct vma_area *vma, unsigned long addr)
addr < (unsigned long)vma->vma.end; addr < (unsigned long)vma->vma.end;
} }
#endif /* CRTOOLS_H_ */ #endif /* __CR_CRTOOLS_H__ */
...@@ -14,4 +14,4 @@ extern int dump_eventfd(struct fd_parms *p, int lfd, const struct cr_fdset *set) ...@@ -14,4 +14,4 @@ extern int dump_eventfd(struct fd_parms *p, int lfd, const struct cr_fdset *set)
extern int collect_eventfd(void); extern int collect_eventfd(void);
extern void show_eventfds(int fd, struct cr_options *o); extern void show_eventfds(int fd, struct cr_options *o);
#endif /* EVENTFD_H__ */ #endif /* __CR_EVENTFD_H__ */
...@@ -15,4 +15,4 @@ extern int collect_eventpoll(void); ...@@ -15,4 +15,4 @@ extern int collect_eventpoll(void);
extern void show_eventpoll(int fd, struct cr_options *o); extern void show_eventpoll(int fd, struct cr_options *o);
extern void show_eventpoll_tfd(int fd, struct cr_options *o); extern void show_eventpoll_tfd(int fd, struct cr_options *o);
#endif /* EVENTPOLL_H__ */ #endif /* __CR_EVENTPOLL_H__ */
...@@ -7,4 +7,4 @@ struct cr_fdset; ...@@ -7,4 +7,4 @@ struct cr_fdset;
extern int dump_fifo(struct fd_parms *p, int lfd, const struct cr_fdset *set); extern int dump_fifo(struct fd_parms *p, int lfd, const struct cr_fdset *set);
extern int collect_fifo(void); extern int collect_fifo(void);
#endif /* FIFO_H__ */ #endif /* __CR_FIFO_H__ */
...@@ -15,4 +15,4 @@ extern int fd_id_generate(pid_t pid, FdinfoEntry *fe); ...@@ -15,4 +15,4 @@ extern int fd_id_generate(pid_t pid, FdinfoEntry *fe);
extern u32 fd_id_generate_special(void); extern u32 fd_id_generate_special(void);
extern void fd_id_show_tree(void); extern void fd_id_show_tree(void);
#endif /* FILE_IDS_H__ */ #endif /* __CR_FILE_IDS_H__ */
...@@ -36,4 +36,4 @@ extern int dump_one_reg_file(int lfd, u32 id, const struct fd_parms *p); ...@@ -36,4 +36,4 @@ extern int dump_one_reg_file(int lfd, u32 id, const struct fd_parms *p);
extern struct file_remap *lookup_ghost_remap(u32 dev, u32 ino); extern struct file_remap *lookup_ghost_remap(u32 dev, u32 ino);
extern void remap_put(struct file_remap *remap); extern void remap_put(struct file_remap *remap);
#endif /* FILES_REG_H__ */ #endif /* __CR_FILES_REG_H__ */
...@@ -100,4 +100,4 @@ extern int set_fd_flags(int fd, int flags); ...@@ -100,4 +100,4 @@ extern int set_fd_flags(int fd, int flags);
#define LREMAP_PARAM "link-remap" #define LREMAP_PARAM "link-remap"
#endif /* FILES_H_ */ #endif /* __CR_FILES_H__ */
...@@ -81,4 +81,4 @@ struct xsave_struct { ...@@ -81,4 +81,4 @@ struct xsave_struct {
struct ymmh_struct ymmh; struct ymmh_struct ymmh;
} __aligned(FP_MIN_ALIGN_BYTES) __packed; } __aligned(FP_MIN_ALIGN_BYTES) __packed;
#endif /* FPU_H__ */ #endif /* __CR_FPU_H__ */
...@@ -133,4 +133,4 @@ struct page_entry { ...@@ -133,4 +133,4 @@ struct page_entry {
#define GET_FILE_OFF(s, m) (offsetof(s,m) + MAGIC_OFFSET) #define GET_FILE_OFF(s, m) (offsetof(s,m) + MAGIC_OFFSET)
#define GET_FILE_OFF_AFTER(s) (sizeof(s) + MAGIC_OFFSET) #define GET_FILE_OFF_AFTER(s) (sizeof(s) + MAGIC_OFFSET)
#endif /* CR_IMAGE_H */ #endif /* __CR_IMAGE_H__ */
...@@ -133,4 +133,4 @@ struct tcpvegas_info { ...@@ -133,4 +133,4 @@ struct tcpvegas_info {
__u32 tcpv_minrtt; __u32 tcpv_minrtt;
}; };
#endif /* _INET_DIAG_H_ */ #endif /* __CR_INET_DIAG_H__ */
...@@ -15,4 +15,4 @@ extern int collect_inotify(void); ...@@ -15,4 +15,4 @@ extern int collect_inotify(void);
extern void show_inotify_wd(int fd_inotify_wd, struct cr_options *o); extern void show_inotify_wd(int fd_inotify_wd, struct cr_options *o);
extern void show_inotify(int fd_inotify, struct cr_options *o); extern void show_inotify(int fd_inotify, struct cr_options *o);
#endif /* INOTIFY_H__ */ #endif /* __CR_INOTIFY_H__ */
...@@ -11,4 +11,4 @@ extern void show_ipc_sem(int fd, struct cr_options *); ...@@ -11,4 +11,4 @@ extern void show_ipc_sem(int fd, struct cr_options *);
extern int dump_ipc_ns(int ns_pid, struct cr_fdset *fdset); extern int dump_ipc_ns(int ns_pid, struct cr_fdset *fdset);
extern int prepare_ipc_ns(int pid); extern int prepare_ipc_ns(int pid);
#endif /* CR_IPC_NS_H_ */ #endif /* __CR_IPC_NS_H__ */
...@@ -25,4 +25,4 @@ u32 kid_generate_gen(struct kid_tree *tree, ...@@ -25,4 +25,4 @@ u32 kid_generate_gen(struct kid_tree *tree,
struct kid_elem *elem, int *new_id); struct kid_elem *elem, int *new_id);
void kid_show_tree(struct kid_tree *tree); void kid_show_tree(struct kid_tree *tree);
#endif #endif /* __CR_KCMP_IDS_H__ */
...@@ -16,4 +16,4 @@ extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, ...@@ -16,4 +16,4 @@ extern int addattr_l(struct nlmsghdr *n, int maxlen, int type,
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len))) ((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
#endif /* LIBNETLINK_H__ */ #endif /* __CR_LIBNETLINK_H__ */
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* LINKAGE_H_ */ #endif /* __CR_LINKAGE_H__ */
...@@ -283,4 +283,4 @@ static inline void list_splice_tail_init(struct list_head *list, ...@@ -283,4 +283,4 @@ static inline void list_splice_tail_init(struct list_head *list,
#define list_safe_reset_next(pos, n, member) \ #define list_safe_reset_next(pos, n, member) \
n = list_entry(pos->member.next, typeof(*pos), member) n = list_entry(pos->member.next, typeof(*pos), member)
#endif /* CR_LIST_H_ */ #endif /* __CR_LIST_H__ */
...@@ -121,4 +121,4 @@ static void inline mutex_unlock(mutex_t *m) ...@@ -121,4 +121,4 @@ static void inline mutex_unlock(mutex_t *m)
BUG_ON(sys_futex(&m->raw.counter, FUTEX_WAKE, 1, NULL, NULL, 0) < 0); BUG_ON(sys_futex(&m->raw.counter, FUTEX_WAKE, 1, NULL, NULL, 0) < 0);
} }
#endif /* CR_LOCK_H_ */ #endif /* __CR_LOCK_H__ */
...@@ -9,4 +9,4 @@ ...@@ -9,4 +9,4 @@
#define DEFAULT_LOGLEVEL LOG_WARN #define DEFAULT_LOGLEVEL LOG_WARN
#endif /* LOG_LEVELS_H__ */ #endif /* __CR_LOG_LEVELS_H__ */
...@@ -49,4 +49,4 @@ extern void print_on_level(unsigned int loglevel, const char *format, ...) ...@@ -49,4 +49,4 @@ extern void print_on_level(unsigned int loglevel, const char *format, ...)
#define pr_perror(fmt, ...) \ #define pr_perror(fmt, ...) \
pr_err(fmt ": %m\n", ##__VA_ARGS__) pr_err(fmt ": %m\n", ##__VA_ARGS__)
#endif /* LOG_H__ */ #endif /* __CR_LOG_H__ */
...@@ -19,4 +19,4 @@ static always_inline void *builtin_memcpy(void *to, const void *from, unsigned i ...@@ -19,4 +19,4 @@ static always_inline void *builtin_memcpy(void *to, const void *from, unsigned i
return to; return to;
} }
#endif /* __MEMCPY_64_H__ */ #endif /* __CR_MEMCPY_64_H__ */
...@@ -17,4 +17,5 @@ extern void show_mountpoints(int fd, struct cr_options *); ...@@ -17,4 +17,5 @@ extern void show_mountpoints(int fd, struct cr_options *);
int prepare_mnt_ns(int pid); int prepare_mnt_ns(int pid);
extern int pivot_root(const char *new_root, const char *put_old); extern int pivot_root(const char *new_root, const char *put_old);
#endif /* MOUNT_H__ */
#endif /* __CR_MOUNT_H__ */
...@@ -10,4 +10,5 @@ struct cr_options; ...@@ -10,4 +10,5 @@ struct cr_options;
int try_show_namespaces(int pid, struct cr_options *); int try_show_namespaces(int pid, struct cr_options *);
int switch_ns(int pid, int type, char *ns, int *rst); int switch_ns(int pid, int type, char *ns, int *rst);
int restore_ns(int rst, int type); int restore_ns(int rst, int type);
#endif
#endif /* __CR_NS_H__ */
...@@ -19,4 +19,5 @@ struct veth_pair { ...@@ -19,4 +19,5 @@ struct veth_pair {
extern int network_lock(void); extern int network_lock(void);
extern void network_unlock(void); extern void network_unlock(void);
#endif
#endif /* __CR_NET_H__ */
...@@ -7,4 +7,5 @@ int nf_unlock_connection(struct inet_sk_desc *); ...@@ -7,4 +7,5 @@ int nf_unlock_connection(struct inet_sk_desc *);
struct inet_sk_info; struct inet_sk_info;
int nf_unlock_connection_info(struct inet_sk_info *); int nf_unlock_connection_info(struct inet_sk_info *);
#endif
#endif /* __CR_NETFILTER_H__ */
...@@ -73,4 +73,4 @@ struct packet_diag_ring { ...@@ -73,4 +73,4 @@ struct packet_diag_ring {
__u32 pdr_features; __u32 pdr_features;
}; };
#endif #endif /* __CR_PACKET_DIAG_H__ */
...@@ -69,4 +69,4 @@ int syscall_seized(struct parasite_ctl *ctl, int nr, unsigned long *ret, ...@@ -69,4 +69,4 @@ int syscall_seized(struct parasite_ctl *ctl, int nr, unsigned long *ret,
unsigned long arg5, unsigned long arg5,
unsigned long arg6); unsigned long arg6);
#endif /* PARASITE_SYSCALL_H_ */ #endif /* __CR_PARASITE_SYSCALL_H__ */
...@@ -127,4 +127,5 @@ struct parasite_tty_args { ...@@ -127,4 +127,5 @@ struct parasite_tty_args {
#define parasite_sym(pblob, name) ((void *)(pblob) + parasite_blob_offset__##name) #define parasite_sym(pblob, name) ((void *)(pblob) + parasite_blob_offset__##name)
#endif /* !__ASSEMBLY__ */ #endif /* !__ASSEMBLY__ */
#endif /* CR_PARASITE_H_ */
#endif /* __CR_PARASITE_H__ */
...@@ -36,4 +36,4 @@ struct pipe_data_rst { ...@@ -36,4 +36,4 @@ struct pipe_data_rst {
extern int collect_pipe_data(int img_type, struct pipe_data_rst **hash); extern int collect_pipe_data(int img_type, struct pipe_data_rst **hash);
extern int restore_pipe_data(int img_type, int pfd, u32 id, struct pipe_data_rst **hash); extern int restore_pipe_data(int img_type, int pfd, u32 id, struct pipe_data_rst **hash);
#endif #endif /* __CR_PIPES_H__ */
...@@ -140,4 +140,4 @@ extern int parse_fdinfo(int fd, int type, ...@@ -140,4 +140,4 @@ extern int parse_fdinfo(int fd, int type,
int (*cb)(union fdinfo_entries *e, void *arg), void *arg); int (*cb)(union fdinfo_entries *e, void *arg), void *arg);
extern int parse_cpuinfo_features(void); extern int parse_cpuinfo_features(void);
#endif /* PROC_PARSE_H__ */ #endif /* __CR_PROC_PARSE_H__ */
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
#define X86_EFLAGS_VIP 0x00100000 /* Virtual Interrupt Pending */ #define X86_EFLAGS_VIP 0x00100000 /* Virtual Interrupt Pending */
#define X86_EFLAGS_ID 0x00200000 /* CPUID detection flag */ #define X86_EFLAGS_ID 0x00200000 /* CPUID detection flag */
#endif /* CR_PROCESSOR_FLAGS_H__ */ #endif /* __CR_PROCESSOR_FLAGS_H__ */
...@@ -104,4 +104,5 @@ int collect_image(int fd_t, int obj_t, unsigned size, ...@@ -104,4 +104,5 @@ int collect_image(int fd_t, int obj_t, unsigned size,
int (*collect)(void *obj, ProtobufCMessage *msg)); int (*collect)(void *obj, ProtobufCMessage *msg));
int collect_image_sh(int fd_t, int obj_t, unsigned size, int collect_image_sh(int fd_t, int obj_t, unsigned size,
int (*collect)(void *obj, ProtobufCMessage *msg)); int (*collect)(void *obj, ProtobufCMessage *msg));
#endif /* PROTOBUF_H__ */
#endif /* __CR_PROTOBUF_H__ */
#ifndef __CR_PSTREE_H__ #ifndef __CR_PSTREE_H__
#define __CR_PSTREE_H__ #define __CR_PSTREE_H__
#include "list.h" #include "list.h"
#include "crtools.h" #include "crtools.h"
...@@ -60,4 +61,5 @@ extern int dump_pstree(struct pstree_item *root_item); ...@@ -60,4 +61,5 @@ extern int dump_pstree(struct pstree_item *root_item);
struct task_entries; struct task_entries;
extern struct task_entries *task_entries; extern struct task_entries *task_entries;
#endif
#endif /* __CR_PSTREE_H__ */
...@@ -40,4 +40,4 @@ extern int ptrace_peek_area(pid_t pid, void *dst, void *addr, long bytes); ...@@ -40,4 +40,4 @@ extern int ptrace_peek_area(pid_t pid, void *dst, void *addr, long bytes);
extern int ptrace_poke_area(pid_t pid, void *src, void *addr, long bytes); extern int ptrace_poke_area(pid_t pid, void *src, void *addr, long bytes);
extern int ptrace_swap_area(pid_t pid, void *dst, void *src, long bytes); extern int ptrace_swap_area(pid_t pid, void *dst, void *src, long bytes);
#endif /* SEIZE_H_ */ #endif /* __CR_SEIZE_H__ */
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* RBtree implementation adopted from the Linux kernel sources. * RBtree implementation adopted from the Linux kernel sources.
*/ */
#ifndef RBTREE_H__ #ifndef __CR_RBTREE_H__
#define RBTREE_H__ #define __CR_RBTREE_H__
#include <stddef.h> #include <stddef.h>
...@@ -86,4 +86,4 @@ static inline void rb_link_and_balance(struct rb_root *root, ...@@ -86,4 +86,4 @@ static inline void rb_link_and_balance(struct rb_root *root,
rb_insert_color(node, root); rb_insert_color(node, root);
} }
#endif /* RBTREE_H__ */ #endif /* __CR_RBTREE_H__ */
...@@ -295,4 +295,4 @@ find_shmem(struct shmems *shmems, unsigned long shmid) ...@@ -295,4 +295,4 @@ find_shmem(struct shmems *shmems, unsigned long shmid)
(vma_entry_is(vma, VMA_ANON_PRIVATE) || \ (vma_entry_is(vma, VMA_ANON_PRIVATE) || \
vma_entry_is(vma, VMA_FILE_PRIVATE))) vma_entry_is(vma, VMA_FILE_PRIVATE)))
#endif /* CR_RESTORER_H__ */ #endif /* __CR_RESTORER_H__ */
...@@ -13,4 +13,5 @@ extern struct shmems *rst_shmems; ...@@ -13,4 +13,5 @@ extern struct shmems *rst_shmems;
int cr_dump_shmem(void); int cr_dump_shmem(void);
int add_shmem_area(pid_t pid, VmaEntry *vma); int add_shmem_area(pid_t pid, VmaEntry *vma);
#endif
#endif /* __CR_SHMEM_H__ */
#ifndef __CR_SIGNALFD_H__ #ifndef __CR_SIGNALFD_H__
#define __CR_SIGNALFD_H__ #define __CR_SIGNALFD_H__
struct cr_fdset; struct cr_fdset;
struct fd_parms; struct fd_parms;
struct cr_options; struct cr_options;
...@@ -7,4 +8,5 @@ extern int is_signalfd_link(int lfd); ...@@ -7,4 +8,5 @@ extern int is_signalfd_link(int lfd);
extern int dump_signalfd(struct fd_parms *p, int lfd, const struct cr_fdset *set); extern int dump_signalfd(struct fd_parms *p, int lfd, const struct cr_fdset *set);
extern void show_signalfd(int fd, struct cr_options *o); extern void show_signalfd(int fd, struct cr_options *o);
extern int collect_signalfd(void); extern int collect_signalfd(void);
#endif
#endif /* __CR_SIGNALFD_H__ */
...@@ -69,4 +69,5 @@ int check_tcp_repair(void); ...@@ -69,4 +69,5 @@ int check_tcp_repair(void);
extern int rst_tcp_socks_size; extern int rst_tcp_socks_size;
extern int rst_tcp_socks_remap(void *addr); extern int rst_tcp_socks_remap(void *addr);
#endif
#endif /* __CR_SK_INET_H__ */
...@@ -37,4 +37,4 @@ struct tpacket_req3 { ...@@ -37,4 +37,4 @@ struct tpacket_req3 {
}; };
#endif #endif
#endif #endif /* __CR_SK_PACKET_H__ */
...@@ -11,4 +11,4 @@ extern int dump_sk_queue(int sock_fd, int sock_id); ...@@ -11,4 +11,4 @@ extern int dump_sk_queue(int sock_fd, int sock_id);
extern void show_sk_queues(int fd, struct cr_options *o); extern void show_sk_queues(int fd, struct cr_options *o);
extern int restore_sk_queue(int fd, unsigned int peer_id); extern int restore_sk_queue(int fd, unsigned int peer_id);
#endif /* SK_QUEUE_H__ */ #endif /* __CR_SK_QUEUE_H__ */
...@@ -78,4 +78,4 @@ static inline int sk_decode_shutdown(int val) ...@@ -78,4 +78,4 @@ static inline int sk_decode_shutdown(int val)
return hows[val]; return hows[val];
} }
#endif /* CR_SOCKETS_H__ */ #endif /* __CR_SOCKETS_H__ */
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
* Anything else should go to plain type.h * Anything else should go to plain type.h
*/ */
#ifndef SYSCALL_TYPES_H__ #ifndef __CR_SYSCALL_TYPES_H__
#define SYSCALL_TYPES_H__ #define __CR_SYSCALL_TYPES_H__
#include <sys/time.h> #include <sys/time.h>
#include <arpa/inet.h> #include <arpa/inet.h>
...@@ -61,4 +61,4 @@ struct robust_list_head; ...@@ -61,4 +61,4 @@ struct robust_list_head;
#define setns sys_setns #define setns sys_setns
#endif /* SYSCALL_TYPES_H__ */ #endif /* __CR_SYSCALL_TYPES_H__ */
...@@ -31,4 +31,4 @@ enum { ...@@ -31,4 +31,4 @@ enum {
#define CTL_LEN(t) ((t) >> CTL_SHIFT) #define CTL_LEN(t) ((t) >> CTL_SHIFT)
#define CTL_TYPE(t) ((t) & ((1 << CTL_SHIFT) - 1)) #define CTL_TYPE(t) ((t) & ((1 << CTL_SHIFT) - 1))
#endif /* CR_SYSCTL_H_ */ #endif /* __CR_SYSCTL_H__ */
...@@ -24,4 +24,4 @@ extern int tty_verify_active_pairs(void); ...@@ -24,4 +24,4 @@ extern int tty_verify_active_pairs(void);
extern int tty_prep_fds(void); extern int tty_prep_fds(void);
extern void tty_fini_fds(void); extern void tty_fini_fds(void);
#endif /* CR_TTY_H__ */ #endif /* __CR_TTY_H__ */
...@@ -245,4 +245,4 @@ typedef struct { ...@@ -245,4 +245,4 @@ typedef struct {
# define MADV_DONTDUMP 16 # define MADV_DONTDUMP 16
#endif #endif
#endif /* CR_TYPES_H_ */ #endif /* __CR_TYPES_H__ */
...@@ -64,4 +64,4 @@ struct unix_diag_rqlen { ...@@ -64,4 +64,4 @@ struct unix_diag_rqlen {
u32 udiag_wqueue; u32 udiag_wqueue;
}; };
#endif /* UNIX_DIAG_H__ */ #endif /* __CR_UNIX_DIAG_H__ */
...@@ -59,4 +59,4 @@ static inline int recv_fd(int sock) ...@@ -59,4 +59,4 @@ static inline int recv_fd(int sock)
return fd; return fd;
} }
#endif #endif /* __CR_UTIL_NET_H__ */
...@@ -330,4 +330,4 @@ static inline bool dir_dots(struct dirent *de) ...@@ -330,4 +330,4 @@ static inline bool dir_dots(struct dirent *de)
return !strcmp(de->d_name, ".") || !strcmp(de->d_name, ".."); return !strcmp(de->d_name, ".") || !strcmp(de->d_name, "..");
} }
#endif /* UTIL_H_ */ #endif /* __CR_UTIL_H__ */
...@@ -8,4 +8,4 @@ struct cr_options; ...@@ -8,4 +8,4 @@ struct cr_options;
void show_utsns(int fd, struct cr_options *); void show_utsns(int fd, struct cr_options *);
int prepare_utsns(int pid); int prepare_utsns(int pid);
#endif /* CR_UTS_NS_H_ */ #endif /* __CR_UTS_NS_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment