1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00
systemd-stable/.gitignore
Zbigniew Jędrzejewski-Szmek 65b3903ff5 journal: guarantee async-signal-safety in sd_journald_sendv
signal(7) provides a list of functions which may be called from a
signal handler. Other functions, which only call those functions and
don't access global memory and are reentrant are also safe.
sd_j_sendv was mostly OK, but would call mkostemp and writev in a
fallback path, which are unsafe.

Being able to call sd_j_sendv in a async-signal-safe way is important
because it allows it be used in signal handlers.

Safety is achieved by replacing mkostemp with open(O_TMPFILE) and an
open-coded writev replacement which uses write. Unfortunately,
O_TMPFILE is only available on kernels >= 3.11. When O_TMPFILE is
unavailable, an open-coded mkostemp is used.

https://bugzilla.gnome.org/show_bug.cgi?id=722889
2014-01-27 23:17:02 -05:00

208 lines
3.2 KiB
Plaintext

*.a
*.cache
*.html
*.la
*.lo
*.log
*.o
*.plist
*.pyc
*.stamp
*.trs
*~
.deps/
.dirstamp
.libs/
/*.tar.bz2
/*.tar.gz
/*.tar.xz
/Makefile
/TAGS
/accelerometer
/ata_id
/bootctl
/build-aux
/busctl
/cdrom_id
/collect
/coverage/
/defined
/exported
/exported-*
/gtk-doc.make
/hostnamectl
/install-tree
/journalctl
/libsystemd-*.c
/libtool
/localectl
/loginctl
/machinectl
/mtd_probe
/scsi_id
/systemadm
/systemctl
/systemd
/systemd-ac-power
/systemd-activate
/systemd-analyze
/systemd-ask-password
/systemd-backlight
/systemd-binfmt
/systemd-bootchart
/systemd-bus-proxyd
/systemd-bus-driverd
/systemd-cat
/systemd-cgls
/systemd-cgroups-agent
/systemd-cgtop
/systemd-coredump
/systemd-coredumpctl
/systemd-cryptsetup
/systemd-cryptsetup-generator
/systemd-dbus1-generator
/systemd-delta
/systemd-detect-virt
/systemd-efi-boot-generator
/systemd-fsck
/systemd-fstab-generator
/systemd-getty-generator
/systemd-gnome-ask-password-agent
/systemd-gpt-auto-generator
/systemd-hostnamed
/systemd-inhibit
/systemd-initctl
/systemd-journal-gatewayd
/systemd-journald
/systemd-kmsg-syslogd
/systemd-localed
/systemd-logind
/systemd-machine-id-setup
/systemd-machined
/systemd-modules-load
/systemd-multi-seat-x
/systemd-networkd
/systemd-notify
/systemd-nspawn
/systemd-quotacheck
/systemd-random-seed
/systemd-rc-local-generator
/systemd-readahead
/systemd-remount-api-vfs
/systemd-remount-fs
/systemd-reply-password
/systemd-rfkill
/systemd-run
/systemd-shutdown
/systemd-shutdownd
/systemd-sleep
/systemd-socket-proxyd
/systemd-sysctl
/systemd-system-update-generator
/systemd-timedated
/systemd-tmpfiles
/systemd-tty-ask-password-agent
/systemd-uaccess
/systemd-udevd
/systemd-update-utmp
/systemd-user-sessions
/systemd-vconsole-setup
/tags
/test-boot-timestamp
/test-bus-chat
/test-bus-creds
/test-bus-error
/test-bus-gvariant
/test-bus-cleanup
/test-bus-introspect
/test-bus-kernel
/test-bus-kernel-benchmark
/test-bus-kernel-bloom
/test-bus-marshal
/test-bus-match
/test-bus-memfd
/test-bus-objects
/test-bus-server
/test-bus-signature
/test-bus-zero-copy
/test-calendarspec
/test-catalog
/test-cgroup
/test-cgroup-mask
/test-cgroup-util
/test-daemon
/test-date
/test-device-nodes
/test-dhcp-client
/test-dhcp-option
/test-resolve
/test-ellipsize
/test-engine
/test-env-replace
/test-event
/test-fileio
/test-hashmap
/test-hostname
/test-id128
/test-inhibit
/test-install
/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-libsystemd-sym*
/test-libsystemd-*-sym*
/test-libudev
/test-libudev-sym*
/test-list
/test-log
/test-login
/test-login-shared
/test-login-tables
/test-loopback
/test-machine-tables
/test-mmap-cache
/test-namespace
/test-network
/test-ns
/test-path-util
/test-prioq
/test-replace-var
/test-rtnl
/test-sched-prio
/test-sleep
/test-strbuf
/test-strip-tab-ansi
/test-strv
/test-strxcpyx
/test-tables
/test-time
/test-tmpfiles
/test-udev
/test-unit-file
/test-unit-name
/test-utf8
/test-util
/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-*