Commit Graph

896 Commits (master)

Author SHA1 Message Date
Karel Zak 787226dc28 include/strutils: add strdup_between_structs() 3 years ago
Patrick Steinhardt b2a1a69155 lib/path: fix missing header for `struct stat` 3 years ago
Karel Zak 488f65fcb8 lib/fileutils: add close_all_fds() 3 years ago
Karel Zak b1418ed146 lib/path: add ul_path_stat(), fix absolute paths 3 years ago
Karel Zak bdd4335706 lib/pty-session: make wait_child callback optional 3 years ago
Karel Zak 4f7f723b31 lib/pty-session: add loggin callback to code, follow return codes 3 years ago
Karel Zak 04f0c95f93 lib/pty-session: add log callbacks 3 years ago
Karel Zak ab61a03881 lib/pty: save sigmask, add API to free all resources 3 years ago
Karel Zak 4d5b2fed8f lib/pty: allow use callback from mainloop 3 years ago
Karel Zak 6954895cae lib/pty-session: add generic PTY container code 3 years ago
Karel Zak 23afadca57 include/strutils: add strrealloc() 3 years ago
Elliott Mitchell 2bb3aa36b2 cleanup: Remove some spurious spaces 3 years ago
Quentin Rameau cd083615b4 lib/pwdutils: add xgetpwuid 3 years ago
Karel Zak b2ce7d5827 include/all-io: remove unnecessary condition [lgtm scan] 3 years ago
Karel Zak 7618b3be4b build-sys: fix UTIL_LINUX_PT_SGI_H macro [lgtm scan] 3 years ago
Sami Kerola 218b1dd6f9
misc: fix typos [codespell] 3 years ago
James Peach cef4decf04 unshare: add --keep-caps option 3 years ago
Patrick Steinhardt 530220b6bf include/closestream: fix assignment to read-only standard streams 3 years ago
Sami Kerola 273ebba11d include/xalloc: reindent function bodies to unify indentation 3 years ago
Sami Kerola aba9e76e25 include/xalloc: use multiline function declarations 3 years ago
Rosen Penev 76b680b1a9
Remove isascii usage 3 years ago
Sami Kerola f3aded3fdb
include/xalloc: ensure xstrdup() and xstrndup() returns nonnull attribute 3 years ago
Karel Zak b3dd29d1b8 wdctl; read from /sys if necessary 3 years ago
Karel Zak 8c8df42146 wdctl: default to /dev/watchdog0 3 years ago
Karel Zak 52aa1a6611 include/closestream: avoid close more than once 3 years ago
Karel Zak a6d9d23b5f lib/ttyutils: introduce get_terminal_stdfd() 3 years ago
Karel Zak 1a56f15b0f libfdisk: (sgi) improve checksum calculation [-Waddress-of-packed-member] 3 years ago
Karel Zak 34b0a305f6 include/c: use __has_attribute 3 years ago
Sami Kerola d2a1ee4e56
include/strutils: fix potential null pointer dereference 3 years ago
Sami Kerola b94acada9e
lscpu: move trailing null after removing characters from a string 3 years ago
Karel Zak 084365f1a1 build-sys: use __SANITIZE_ADDRESS__ rather than custom USE_CLOSE_ATEXIT 3 years ago
Karel Zak 2c308875a7 misc: consolidate version printing and close_stdout() 4 years ago
Karel Zak 31c66833cb include/closestream: add close_stdout_atexit() 4 years ago
Karel Zak 3c4ff2dc9d include/strutils: add functions to replace and remove chars from string 4 years ago
Karel Zak 7761bd3bb6 lib/fileutils: add xreaddir() 4 years ago
Karel Zak 6c9ab254ae libmount: don't use sscanf() for swaps parsing 4 years ago
Karel Zak 86673b3a46 libmount: don't use sscanf() for mountinfo parsing 4 years ago
Sami Kerola fcb89ba7bb include/path.h: remove duplicate header inclusion 4 years ago
Sami Kerola e73456dfbb include: add no return function attribute 4 years ago
Karel Zak 07b94c9f32 lib/strutils: support two decimal places in size_to_human_string() output 4 years ago
Karel Zak 5db5962339 lib/colors: force to "never" mode on non-terminal output 4 years ago
Karel Zak 75d239ffd8 lib/loopdev: set blocksize when create a new device 4 years ago
Karel Zak 9fcc893624 lib/loopdev: differentiate between setter()s and ioctl calls 4 years ago
Sami Kerola ee6e39305c
include: add indirect monotonic clock id specifier 4 years ago
Sami Kerola d393c00c6c
timeutils: match today day and this year correctly 4 years ago
Karel Zak c455cdb30d choom: fix negative adjust score usage 4 years ago
Karel Zak 7ca122ba84 include/list: add list_entry_is_first() and list_count_entries() 4 years ago
Karel Zak c9ea91d41e lib/path: allow to close dirfd 4 years ago
Karel Zak 93c687d895 lib/sysfs: add function to detect partitioned devices 4 years ago
Karel Zak 6df5acf970 lib/timer: add fallback if timer_create() not available 4 years ago