mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
9fe4ea21be
memory_erase() so far just called memset(), which the compiler might optimize away under certain conditions if it feels there's benefit in it. C11 knows a new memset_s() call that is like memset(), but may not be optimized away. Ideally, we'd just use that call, but glibc currently does not support it. Hence, implement our own simplistic version of it. We use a GCC pragma to turn off optimization for this call, and also use the "volatile" keyword on the pointers to ensure that gcc will use the pointers as-is. According to a variety of internet sources, either one does the trick. However, there are also reports that at least the volatile thing isn't fully correct, hence let's add some snake oil and employ both techniques. https://news.ycombinator.com/item?id=4711346
291 lines
4.4 KiB
Plaintext
291 lines
4.4 KiB
Plaintext
*.a
|
|
*.cache
|
|
*.html
|
|
*.la
|
|
*.lo
|
|
*.log
|
|
*.o
|
|
*.plist
|
|
*.pyc
|
|
*.stamp
|
|
*.swp
|
|
*.trs
|
|
*~
|
|
.config.args
|
|
.deps/
|
|
.dirstamp
|
|
.libs/
|
|
/*.gcda
|
|
/*.gcno
|
|
/*.tar.bz2
|
|
/*.tar.gz
|
|
/*.tar.xz
|
|
/GPATH
|
|
/GRTAGS
|
|
/GSYMS
|
|
/GTAGS
|
|
/Makefile
|
|
/TAGS
|
|
/ata_id
|
|
/bootctl
|
|
/build-aux
|
|
/busctl
|
|
/cdrom_id
|
|
/collect
|
|
/coredumpctl
|
|
/coverage/
|
|
/defined
|
|
/exported
|
|
/exported-*
|
|
/hostnamectl
|
|
/install-tree
|
|
/journalctl
|
|
/libsystemd-*.c
|
|
/libtool
|
|
/linuxx64.efi.stub
|
|
/localectl
|
|
/loginctl
|
|
/machinectl
|
|
/mtd_probe
|
|
/networkctl
|
|
/scsi_id
|
|
/systemadm
|
|
/systemctl
|
|
/systemd
|
|
/systemd-ac-power
|
|
/systemd-activate
|
|
/systemd-analyze
|
|
/systemd-ask-password
|
|
/systemd-backlight
|
|
/systemd-binfmt
|
|
/systemd-bootchart
|
|
/systemd-bootx64.efi
|
|
/systemd-bus-proxyd
|
|
/systemd-cat
|
|
/systemd-cgls
|
|
/systemd-cgroups-agent
|
|
/systemd-cgtop
|
|
/systemd-coredump
|
|
/systemd-cryptsetup
|
|
/systemd-cryptsetup-generator
|
|
/systemd-dbus1-generator
|
|
/systemd-debug-generator
|
|
/systemd-delta
|
|
/systemd-detect-virt
|
|
/systemd-escape
|
|
/systemd-export
|
|
/systemd-firstboot
|
|
/systemd-fsck
|
|
/systemd-fstab-generator
|
|
/systemd-getty-generator
|
|
/systemd-gnome-ask-password-agent
|
|
/systemd-gpt-auto-generator
|
|
/systemd-hibernate-resume
|
|
/systemd-hibernate-resume-generator
|
|
/systemd-hostnamed
|
|
/systemd-hwdb
|
|
/systemd-import
|
|
/systemd-importd
|
|
/systemd-inhibit
|
|
/systemd-initctl
|
|
/systemd-journal-gatewayd
|
|
/systemd-journal-remote
|
|
/systemd-journal-upload
|
|
/systemd-journald
|
|
/systemd-kmsg-syslogd
|
|
/systemd-localed
|
|
/systemd-logind
|
|
/systemd-machine-id-setup
|
|
/systemd-machined
|
|
/systemd-modules-load
|
|
/systemd-networkd
|
|
/systemd-networkd-wait-online
|
|
/systemd-notify
|
|
/systemd-nspawn
|
|
/systemd-path
|
|
/systemd-pull
|
|
/systemd-quotacheck
|
|
/systemd-random-seed
|
|
/systemd-rc-local-generator
|
|
/systemd-remount-api-vfs
|
|
/systemd-remount-fs
|
|
/systemd-reply-password
|
|
/systemd-resolve-host
|
|
/systemd-resolved
|
|
/systemd-rfkill
|
|
/systemd-run
|
|
/systemd-shutdown
|
|
/systemd-sleep
|
|
/systemd-socket-proxyd
|
|
/systemd-stdio-bridge
|
|
/systemd-sysctl
|
|
/systemd-system-update-generator
|
|
/systemd-sysusers
|
|
/systemd-sysv-generator
|
|
/systemd-timedated
|
|
/systemd-timesyncd
|
|
/systemd-tmpfiles
|
|
/systemd-tty-ask-password-agent
|
|
/systemd-uaccess
|
|
/systemd-udevd
|
|
/systemd-update-done
|
|
/systemd-update-utmp
|
|
/systemd-user-sessions
|
|
/systemd-vconsole-setup
|
|
/tags
|
|
/test-acd
|
|
/test-af-list
|
|
/test-architecture
|
|
/test-arphrd-list
|
|
/test-async
|
|
/test-audit-type
|
|
/test-barrier
|
|
/test-bitmap
|
|
/test-boot-timestamp
|
|
/test-btrfs
|
|
/test-bus-benchmark
|
|
/test-bus-chat
|
|
/test-bus-cleanup
|
|
/test-bus-creds
|
|
/test-bus-error
|
|
/test-bus-gvariant
|
|
/test-bus-introspect
|
|
/test-bus-kernel
|
|
/test-bus-kernel-bloom
|
|
/test-bus-marshal
|
|
/test-bus-match
|
|
/test-bus-objects
|
|
/test-bus-policy
|
|
/test-bus-proxy
|
|
/test-bus-server
|
|
/test-bus-signature
|
|
/test-bus-zero-copy
|
|
/test-calendarspec
|
|
/test-cap-list
|
|
/test-capability
|
|
/test-catalog
|
|
/test-cgroup
|
|
/test-cgroup-mask
|
|
/test-cgroup-util
|
|
/test-compress
|
|
/test-compress-benchmark
|
|
/test-condition
|
|
/test-conf-files
|
|
/test-conf-parser
|
|
/test-copy
|
|
/test-coredump-vacuum
|
|
/test-daemon
|
|
/test-date
|
|
/test-device-nodes
|
|
/test-dhcp-client
|
|
/test-dhcp-option
|
|
/test-dhcp-server
|
|
/test-dhcp6-client
|
|
/test-dns-domain
|
|
/test-efi-disk.img
|
|
/test-ellipsize
|
|
/test-engine
|
|
/test-env-replace
|
|
/test-event
|
|
/test-execute
|
|
/test-extract-word
|
|
/test-fdset
|
|
/test-fileio
|
|
/test-firewall-util
|
|
/test-fstab-util
|
|
/test-hashmap
|
|
/test-hostname
|
|
/test-hostname-util
|
|
/test-id128
|
|
/test-inhibit
|
|
/test-install
|
|
/test-ipcrm
|
|
/test-ipv4ll
|
|
/test-ipv4ll-manual
|
|
/test-job-type
|
|
/test-journal
|
|
/test-journal-enum
|
|
/test-journal-flush
|
|
/test-journal-init
|
|
/test-journal-interleaving
|
|
/test-journal-match
|
|
/test-journal-send
|
|
/test-journal-stream
|
|
/test-journal-syslog
|
|
/test-journal-verify
|
|
/test-json
|
|
/test-libsystemd-sym*
|
|
/test-libudev
|
|
/test-libudev-sym*
|
|
/test-list
|
|
/test-lldp
|
|
/test-local-addresses
|
|
/test-locale-util
|
|
/test-log
|
|
/test-login
|
|
/test-login-shared
|
|
/test-login-tables
|
|
/test-loopback
|
|
/test-machine-tables
|
|
/test-mmap-cache
|
|
/test-namespace
|
|
/test-ndisc-rs
|
|
/test-netlink
|
|
/test-netlink-manual
|
|
/test-network
|
|
/test-network-tables
|
|
/test-ns
|
|
/test-parse-util
|
|
/test-path
|
|
/test-path-lookup
|
|
/test-path-util
|
|
/test-pppoe
|
|
/test-prioq
|
|
/test-process-util
|
|
/test-pty
|
|
/test-qcow2
|
|
/test-ratelimit
|
|
/test-replace-var
|
|
/test-resolve
|
|
/test-ring
|
|
/test-sched-prio
|
|
/test-set
|
|
/test-sigbus
|
|
/test-siphash24
|
|
/test-sleep
|
|
/test-socket-util
|
|
/test-ssd
|
|
/test-strbuf
|
|
/test-string-util
|
|
/test-strip-tab-ansi
|
|
/test-strv
|
|
/test-strxcpyx
|
|
/test-tables
|
|
/test-terminal-util
|
|
/test-time
|
|
/test-tmpfiles
|
|
/test-udev
|
|
/test-uid-range
|
|
/test-unaligned
|
|
/test-unit-file
|
|
/test-unit-name
|
|
/test-user-util
|
|
/test-utf8
|
|
/test-util
|
|
/test-verbs
|
|
/test-watchdog
|
|
/test-xml
|
|
/timedatectl
|
|
/udevadm
|
|
/undefined
|
|
/v4l_id
|
|
Makefile.in
|
|
__pycache__/
|
|
aclocal.m4
|
|
config.h
|
|
config.h.in
|
|
config.log
|
|
config.status
|
|
configure
|
|
stamp-*
|