1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 18:27:04 +03:00
systemd/src/core
Zbigniew Jędrzejewski-Szmek 4f52d3fe2d fstab-generator: properly deal with discard as non-last option
Previous code would only return correct results when discard
was the last option.

While at it, avoid incorrect behaviour for (invalid) 'pri' option
not followed by '=...', and also do not return -1 as the error code.
2014-09-29 11:08:12 -04:00
..
.gitignore
audit-fd.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
audit-fd.h
automount.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
automount.h
build.h make utmp/wtmp support configurable 2014-09-26 07:48:35 -04:00
bus-common.c bus: factor out bus policy items 2014-09-08 11:06:45 +02:00
bus-common.h bus: factor out bus policy items 2014-09-08 11:06:45 +02:00
bus-endpoint.c core: Remove uninitialized warnings from bus-endpoint.c 2014-09-18 18:32:18 +02:00
bus-endpoint.h bus: add kdbus endpoint types 2014-09-08 11:06:45 +02:00
busname.c bus: factor out bus policy items 2014-09-08 11:06:45 +02:00
busname.h bus: factor out bus policy items 2014-09-08 11:06:45 +02:00
cgroup.c core: split up "starting" manager state into "initializing" and "starting" 2014-08-22 18:10:31 +02:00
cgroup.h cgroups: simplify CPUQuota= logic 2014-05-22 11:53:12 +09:00
condition.c firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead 2014-07-07 21:05:09 +02:00
condition.h condition: split out most of condition handling into libsystemd-shard 2014-02-20 20:14:33 +01:00
dbus-automount.c core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-automount.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-busname.c kdbus: when uploading bus name policy, resolve users/groups out-of-process 2014-06-05 13:09:46 +02:00
dbus-busname.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-cgroup.c cgroups: simplify CPUQuota= logic 2014-05-22 11:53:12 +09:00
dbus-cgroup.h
dbus-device.c core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-device.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-execute.c time-util: add and use USEC/NSEC_INFINIY 2014-07-29 13:20:20 +02:00
dbus-execute.h core: allow User=, Group=, Nice=, Environment=, Type= to be passed when creating a transient service 2014-02-05 02:03:10 +01:00
dbus-job.c remove unused variables 2014-08-19 22:55:42 +02:00
dbus-job.h core: Common code for DBus methods that Cancel a job 2014-08-15 14:07:07 +02:00
dbus-kill.c includes: remove duplicate includes 2014-02-10 13:06:31 +01:00
dbus-kill.h
dbus-manager.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
dbus-manager.h bus: add sd_bus_track object for tracking peers, and port core over to it 2014-03-03 02:34:13 +01:00
dbus-mount.c mount: add new SloppyOptions= setting for mount units, mapping to mount(8)'s "-s" switch 2014-06-16 01:02:27 +02:00
dbus-mount.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-path.c core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-path.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-scope.c core: Verify systemd1 DBus method callers via polkit 2014-08-18 18:08:28 +02:00
dbus-scope.h core: introduce new stop protocol for unit scopes 2014-01-31 17:48:36 +01:00
dbus-service.c core: Added support for ERRNO NOTIFY_SOCKET message parsing, and added StatusErrno dbus property along StatusText to allow notification of numeric status condition while degraded service operation or any other special situation. 2014-07-07 17:01:25 +02:00
dbus-service.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-slice.c core: rework cgroup mask propagation 2014-02-17 15:49:21 +01:00
dbus-slice.h
dbus-snapshot.c core: no need to pass bus object to selinux access check calls anymore 2014-05-14 22:58:43 +02:00
dbus-snapshot.h
dbus-socket.c socket: suffix newly added TCP sockopt time properties with "Sec" 2014-08-19 21:58:48 +02:00
dbus-socket.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-swap.c core: rework cgroup mask propagation 2014-02-17 15:49:21 +01:00
dbus-swap.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-target.c
dbus-target.h
dbus-timer.c timer: support timers that can resume the system from suspend 2014-03-24 16:24:07 +01:00
dbus-timer.h core: no need to list properties for PropertiesChanged messages anymore 2013-12-22 03:50:52 +01:00
dbus-unit.c core: Verify systemd1 DBus method callers via polkit 2014-08-18 18:08:28 +02:00
dbus-unit.h
dbus.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
dbus.h core: Verify systemd1 DBus method callers via polkit 2014-08-18 18:08:28 +02:00
device.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
device.h
execute.c swap: introduce Discard property 2014-09-29 11:08:12 -04:00
execute.h swap: introduce Discard property 2014-09-29 11:08:12 -04:00
failure-action.c core: introduce "poweroff" as new failure action types 2014-08-22 18:10:31 +02:00
failure-action.h core: introduce "poweroff" as new failure action types 2014-08-22 18:10:31 +02:00
hostname-setup.c
hostname-setup.h
ima-setup.c core: reindent {selinux, ima, smack}-setup.c 2014-04-26 00:54:03 +02:00
ima-setup.h
job.c Quote unit names in suggested systemctl commandlines 2014-08-31 00:42:27 -04:00
job.h core: Rename Job.subscribed field to Job.clients 2014-08-15 14:07:07 +02:00
kill.c core: introduce new KillMode=mixed which sends SIGTERM only to the main process, but SIGKILL to all daemon processes 2014-01-29 13:42:06 +01:00
kill.h core: introduce new KillMode=mixed which sends SIGTERM only to the main process, but SIGKILL to all daemon processes 2014-01-29 13:42:06 +01:00
killall.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
killall.h
kmod-setup.c kmod: conditionalize kmod setup on CAP_SYS_MODULE, not whether we run in a container 2014-06-17 03:26:40 +02:00
kmod-setup.h
load-dropin.c core: do not add dependencies to self 2014-08-07 20:42:58 -04:00
load-dropin.h
load-fragment-gperf.gperf.m4 swap: introduce Discard property 2014-09-29 11:08:12 -04:00
load-fragment.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
load-fragment.h bus: parse BusPolicy directive in service files 2014-09-08 14:12:54 +02:00
locale-setup.c localectl: print warning when there are options given on kernel cmdline 2014-09-25 09:19:56 +02:00
locale-setup.h
loopback-setup.c core: loopback-setup - only up the loopback device 2014-08-08 13:09:51 +02:00
loopback-setup.h
machine-id-setup.c machine-id-setup: don't try to read UUID from VM/container manager if we operate on a root directory that's not / 2014-08-20 13:51:17 +02:00
machine-id-setup.h machine-id: add --root option to operate on an alternate fs tree 2014-03-14 12:44:17 +01:00
macros.systemd.in sysusers: add a new RPM macro for creating users directly from data passed in via stdin 2014-08-19 02:16:27 +02:00
main.c use the switch_root function in shutdown 2014-08-28 15:25:15 +02:00
Makefile
manager.c core: fix resource leak in manager_environment_add 2014-09-16 21:47:24 +02:00
manager.h core: split up "starting" manager state into "initializing" and "starting" 2014-08-22 18:10:31 +02:00
mount-setup.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
mount-setup.h
mount.c mount: order options before other arguments to mount 2014-09-18 18:12:51 +02:00
mount.h mount: add new SloppyOptions= setting for mount units, mapping to mount(8)'s "-s" switch 2014-06-16 01:02:27 +02:00
namespace.c namespace: avoid posible use of uninitialized variable 2014-09-08 22:09:41 +02:00
namespace.h namespace: add support for custom kdbus endpoint 2014-09-08 14:12:56 +02:00
org.freedesktop.systemd1.conf core: Verify systemd1 DBus method callers via polkit 2014-08-18 18:08:28 +02:00
org.freedesktop.systemd1.policy.in.in core: Verify systemd1 DBus method callers via polkit 2014-08-18 18:08:28 +02:00
org.freedesktop.systemd1.service
path.c core: nicer message when inotify watches are exhausted 2014-07-16 22:53:07 -04:00
path.h
scope.c sd-event: rework API to support CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM, too 2014-03-24 02:58:41 +01:00
scope.h core: watch SIGCHLD more closely to track processes of units with no reliable cgroup empty notifier 2014-02-07 15:14:36 +01:00
selinux-access.c selinux: fix build for non-selinux systems 2014-05-15 17:48:28 +02:00
selinux-access.h core: no need to pass bus object to selinux access check calls anymore 2014-05-14 22:58:43 +02:00
selinux-setup.c core: let selinux_setup() load policy more than once 2014-05-16 20:09:02 +02:00
selinux-setup.h
service.c socket: introduce SELinuxContextFromNet option 2014-09-19 12:32:06 +02:00
service.h socket: introduce SELinuxContextFromNet option 2014-09-19 12:32:06 +02:00
show-status.c core: add missing show-status.[ch] 2014-03-03 22:27:25 +01:00
show-status.h core: add missing show-status.[ch] 2014-03-03 22:27:25 +01:00
shutdown.c use the switch_root function in shutdown 2014-08-28 15:25:15 +02:00
slice.c core: rework context initialization/destruction logic 2014-03-19 21:06:53 +01:00
slice.h
smack-setup.c core: smack-setup: Actually allow for succesfully loading CIPSO policy 2014-09-13 11:54:09 +02:00
smack-setup.h smack: set loaded_policy in smack_setup() 2014-02-24 17:36:13 +01:00
snapshot.c core/snapshot: log info when snapshots are created and removed 2014-06-22 15:30:28 -04:00
snapshot.h
socket.c socket: introduce SELinuxContextFromNet option 2014-09-19 12:32:06 +02:00
socket.h socket: introduce SELinuxContextFromNet option 2014-09-19 12:32:06 +02:00
swap.c fstab-generator: properly deal with discard as non-last option 2014-09-29 11:08:12 -04:00
swap.h swap: introduce Discard property 2014-09-29 11:08:12 -04:00
sysfs-show.h
system.conf core: introduce "poweroff" as new failure action types 2014-08-22 18:10:31 +02:00
systemd.pc.in pc: no longer expose exec_prefix in .pc file 2014-06-30 23:19:00 +02:00
target.c
target.h
timer.c timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no 2014-08-14 01:49:40 +02:00
timer.h timer: support timers that can resume the system from suspend 2014-03-24 16:24:07 +01:00
transaction.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
transaction.h
umount.c use more _cleanup_ macro 2014-06-24 19:09:57 +02:00
umount.h
unit-printf.c Always check asprintf return code 2014-07-26 15:08:41 -04:00
unit-printf.h
unit.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
unit.h core: rework context initialization/destruction logic 2014-03-19 21:06:53 +01:00
user.conf core: add a setting to globally control the default for timer unit accuracy 2014-03-24 16:24:07 +01:00