1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src
Lennart Poettering 370a2172ac bitmap: various clean-ups
a) use memcmp() to compare bitmaps efficiently

b) use UINT64_C() macro instead of ULL suffixes to get right suffix for
   uint64_t constants

c) add a few assert()s

d) when comparing integers with 0 we generally try to make this explicit
   with "!= 0".

e) remove redundant bitmap_isset() if check, as we don't have it in
   bitmap_isset() either.

f) It should be fine to invoke bitmap_unset() on a NULL bitmap
2015-07-23 15:57:54 +02:00
..
ac-power treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
activate tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
analyze sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
ask-password remove unused includes 2015-02-23 23:53:42 +01:00
backlight fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
basic bitmap: various clean-ups 2015-07-23 15:57:54 +02:00
binfmt tree-wide: fix write_string_file() user that should not create files 2015-07-06 19:27:20 -04:00
boot sd-boot: ignore missing /etc/machine-id 2015-07-15 12:04:31 +02:00
bootchart bootchart: fix negative 'timeleft' condition 2015-07-21 18:37:06 +02:00
bus-proxyd bus-proxyd: fix log message and explain dbus-1 compat matches 2015-07-06 17:58:50 +02:00
cgls cgls: machines can also be services 2015-07-22 17:53:14 -04:00
cgroups-agent sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
cgtop cgtop: include missing signal.h for sigwinch 2015-07-17 10:39:06 +02:00
compat-libs #pragma once here and there 2015-01-23 09:30:44 -05:00
console everywhere: port everything to sigprocmask_many() and friends 2015-06-15 20:13:23 +02:00
core core: adjust job completion message log levels 2015-07-21 19:28:17 +02:00
cryptsetup cryptsetup: craft a unique ID with the source device 2015-06-09 10:17:55 +02:00
dbus1-generator bus: don't switch to kdbus if not requested 2015-05-06 18:21:51 +02:00
debug-generator core: rework unit name validation and manipulation logic 2015-05-05 15:06:42 -07:00
delta tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
detect-virt remove unused includes 2015-02-23 23:53:42 +01:00
efi-boot-generator path-util: Change path_is_mount_point() symlink arg from bool to flags 2015-05-29 17:42:44 +02:00
escape escape: fix exit code 2015-07-01 23:46:42 -07:00
firstboot fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
fsck sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
fstab-generator swap: use swapon -o 2015-05-25 17:06:15 +02:00
getty-generator core: rework unit name validation and manipulation logic 2015-05-05 15:06:42 -07:00
gpt-auto-generator fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
hibernate-resume fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
hostname sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
hwdb Revert "hwdb: actually search /run/udev/hwdb.d" 2015-06-09 11:26:06 +02:00
import sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
initctl shared: add formats-util.h 2015-04-10 23:54:48 +02:00
journal journal: reword msg about enforced size limits a bit 2015-07-23 02:04:19 +02:00
journal-remote journal-gatewayd: fix tmpfile logic 2015-07-07 17:21:27 -04:00
kernel-install 90-loaderentry.install: fixup BOOT_OPTIONS 2015-06-02 16:10:06 +02:00
libsystemd Merge pull request #537 from poettering/nss-mymachines-userns 2015-07-23 09:53:47 +02:00
libsystemd-network Merge pull request #538 from mischief/multiple-routers 2015-07-14 20:17:11 +02:00
libsystemd-terminal treewide: fix typos of let's 2015-07-06 20:09:54 -04:00
libudev libudev: device - fix typo in udev_device_get_sysattr_list_entry() 2015-06-17 22:03:34 +02:00
locale sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
login logind: fix write_string_file() fallout 2015-07-21 15:58:59 +02:00
machine nss-mymachines: map userns users of containers to real user names 2015-07-09 14:46:20 -03:00
machine-id-commit machine-id-commit: simplifications 2015-03-10 18:56:56 +01:00
machine-id-setup remove unused includes 2015-02-23 23:53:42 +01:00
modules-load modules-load: fix memory leak 2015-05-13 14:07:26 +02:00
network networkd: ip6 tunnel add DSCP 2015-07-23 09:52:24 +05:30
notify shared: add formats-util.h 2015-04-10 23:54:48 +02:00
nspawn Merge pull request #500 from zonque/fileio 2015-07-08 17:13:53 -03:00
nss-myhostname util: split all hostname related calls into hostname-util.c 2015-05-18 17:10:07 +02:00
nss-mymachines nss-mymachines: map userns users of containers to real user names 2015-07-09 14:46:20 -03:00
nss-resolve sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
path tree-wide: there is no ENOTSUP on linux 2015-03-13 14:10:39 +01:00
quotacheck tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
random-seed random-seed: minor cleanups, in particular when it comes to logging 2015-04-21 18:08:09 +02:00
rc-local-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
remount-fs tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
reply-password remove unused includes 2015-02-23 23:53:42 +01:00
resolve Merge pull request #669 from poettering/dns-rr-memdup 2015-07-23 12:34:34 +02:00
resolve-host resolve-host: enable dbus-activation 2015-07-09 11:47:43 +02:00
rfkill fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
run sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
shared Merge pull request #537 from poettering/nss-mymachines-userns 2015-07-23 09:53:47 +02:00
sleep fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
socket-proxy remove unused includes 2015-02-23 23:53:42 +01:00
sysctl sysctl: don't propagate ENOENT sysctl options 2015-04-24 19:56:47 +02:00
system-update-generator remove unused includes 2015-02-23 23:53:42 +01:00
systemctl sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
systemd dhcp: add support for vendor specific DHCP option 2015-07-12 14:26:32 -04:00
sysusers util: add generic calls for prefixing a root directory to a path 2015-05-13 17:42:10 +02:00
sysv-generator sysv-generator: fix coding-style 2015-07-01 13:02:58 +02:00
test basic: bitmap - complete fix for bitshift overflow 2015-07-17 18:59:16 +02:00
timedate sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
timesync build-sys: add all source files and no built files to the tar ball 2015-06-23 12:43:15 +02:00
tmpfiles tmpfiles: downgrade errors when a file system does not support file attributes 2015-07-22 22:02:14 +02:00
tty-ask-password-agent everywhere: port everything to sigprocmask_many() and friends 2015-06-15 20:13:23 +02:00
udev ata_id: unreverse WWN identifier 2015-07-22 00:24:15 -04:00
update-done update-done: ignore nanosecond file timestamp components, they are not reliable 2015-04-27 17:25:57 +02:00
update-utmp shared: add formats-util.h 2015-04-10 23:54:48 +02:00
user-sessions user-sessions: fix write_string_file() fallout 2015-07-21 15:59:02 +02:00
vconsole tree-wide: fix write_string_file() user that should not create files 2015-07-06 19:27:20 -04:00
.gitignore
Makefile