summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/.gitignore4
-rw-r--r--src/shared/.gitignore4
-rw-r--r--src/shared/initreq.h (renamed from src/core/initreq.h)32
-rw-r--r--src/shared/securebits.h (renamed from src/core/securebits.h)4
-rw-r--r--src/shared/special.h (renamed from src/core/special.h)0
-rw-r--r--src/shared/syscall-list.c (renamed from src/core/syscall-list.c)0
-rw-r--r--src/shared/syscall-list.h (renamed from src/core/syscall-list.h)0
7 files changed, 22 insertions, 22 deletions
diff --git a/src/core/.gitignore b/src/core/.gitignore
index a763f72507..f293bbdc93 100644
--- a/src/core/.gitignore
+++ b/src/core/.gitignore
@@ -1,6 +1,2 @@
-/syscall-from-name.gperf
-/syscall-from-name.h
-/syscall-list.txt
-/syscall-to-name.h
/macros.systemd
/systemd.pc
diff --git a/src/shared/.gitignore b/src/shared/.gitignore
index c9b5f81719..3820d1956b 100644
--- a/src/shared/.gitignore
+++ b/src/shared/.gitignore
@@ -1,3 +1,7 @@
+/syscall-from-name.gperf
+/syscall-from-name.h
+/syscall-list.txt
+/syscall-to-name.h
/errno-from-name.gperf
/errno-from-name.h
/errno-list.txt
diff --git a/src/core/initreq.h b/src/shared/initreq.h
index 859042ce42..710037d84b 100644
--- a/src/core/initreq.h
+++ b/src/shared/initreq.h
@@ -45,14 +45,14 @@
* Linux doesn't use this right now.
*/
struct init_request_bsd {
- char gen_id[8]; /* Beats me.. telnetd uses "fe" */
- char tty_id[16]; /* Tty name minus /dev/tty */
- char host[INITRQ_HLEN]; /* Hostname */
- char term_type[16]; /* Terminal type */
- int signal; /* Signal to send */
- int pid; /* Process to send to */
- char exec_name[128]; /* Program to execute */
- char reserved[128]; /* For future expansion. */
+ char gen_id[8]; /* Beats me.. telnetd uses "fe" */
+ char tty_id[16]; /* Tty name minus /dev/tty */
+ char host[INITRQ_HLEN]; /* Hostname */
+ char term_type[16]; /* Terminal type */
+ int signal; /* Signal to send */
+ int pid; /* Process to send to */
+ char exec_name[128]; /* Program to execute */
+ char reserved[128]; /* For future expansion. */
};
@@ -64,14 +64,14 @@ struct init_request_bsd {
* struct to be 384 bytes.
*/
struct init_request {
- int magic; /* Magic number */
- int cmd; /* What kind of request */
- int runlevel; /* Runlevel to change to */
- int sleeptime; /* Time between TERM and KILL */
- union {
- struct init_request_bsd bsd;
- char data[368];
- } i;
+ int magic; /* Magic number */
+ int cmd; /* What kind of request */
+ int runlevel; /* Runlevel to change to */
+ int sleeptime; /* Time between TERM and KILL */
+ union {
+ struct init_request_bsd bsd;
+ char data[368];
+ } i;
};
#endif
diff --git a/src/core/securebits.h b/src/shared/securebits.h
index ba0bba5353..98fbe0d433 100644
--- a/src/core/securebits.h
+++ b/src/shared/securebits.h
@@ -38,8 +38,8 @@
#define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
#define SECURE_ALL_BITS (issecure_mask(SECURE_NOROOT) | \
- issecure_mask(SECURE_NO_SETUID_FIXUP) | \
- issecure_mask(SECURE_KEEP_CAPS))
+ issecure_mask(SECURE_NO_SETUID_FIXUP) | \
+ issecure_mask(SECURE_KEEP_CAPS))
#define SECURE_ALL_LOCKS (SECURE_ALL_BITS << 1)
#endif /* !_LINUX_SECUREBITS_H */
diff --git a/src/core/special.h b/src/shared/special.h
index 6d252e7baa..6d252e7baa 100644
--- a/src/core/special.h
+++ b/src/shared/special.h
diff --git a/src/core/syscall-list.c b/src/shared/syscall-list.c
index dc84dca8fe..dc84dca8fe 100644
--- a/src/core/syscall-list.c
+++ b/src/shared/syscall-list.c
diff --git a/src/core/syscall-list.h b/src/shared/syscall-list.h
index 37efc5681d..37efc5681d 100644
--- a/src/core/syscall-list.h
+++ b/src/shared/syscall-list.h