Commit Graph

  • 70399856c1 lib/nss.c: Fix use of invalid p Alejandro Colomar 2023-05-31 12:24:14 +02:00
  • 848a95329c lib/nss.c: Fix use of uninitialized p Alejandro Colomar 2023-05-31 12:19:33 +02:00
  • 54ba4814ae Centralize error handling Alejandro Colomar 2023-05-26 12:16:13 +02:00
  • 07b885318f Second verse, it gets worse; it gets no better than this Alejandro Colomar 2023-05-26 11:34:10 +02:00
  • 2f9ca4b49d ROFL: Rolling on the floor looping Alejandro Colomar 2023-05-25 22:24:30 +02:00
  • 8219fbd421 This ain't no loop Alejandro Colomar 2023-05-25 22:13:36 +02:00
  • 9233e5e0ae newusers: Improve error message Iker Pedrosa 2023-05-31 09:38:12 +02:00
  • 3c7327842c ch(g)passwd: Check selinux permissions upon startup Martin Kletzander 2023-03-03 11:46:33 +01:00
  • b422e3c316 Check if crypt_method null before dereferencing Skyler Ferrante 2023-05-30 15:00:12 -04:00
  • d9f0246611 xgetXXbyYY: Simplify elifs Alejandro Colomar 2023-05-27 03:26:52 +02:00
  • 89c9427087 xgetXXbyYY: Centralize error handling Alejandro Colomar 2023-05-27 03:24:49 +02:00
  • c8741a400d xgetXXbyYY: tfix Alejandro Colomar 2023-05-27 03:19:26 +02:00
  • dcc90658fd xgetXXbyYY: Avoid duplicated error handling block Samanta Navarro 2023-05-15 11:59:23 +00:00
  • e73a2194b3 xgetXXbyYY: Handle DUP_FUNCTION failure Samanta Navarro 2023-05-15 11:58:04 +00:00
  • a80b792afc sub_[ug]id_{add,remove}: fix return values Serge Hallyn 2023-05-25 22:00:36 -05:00
  • 8665fe1957 usermod: Small optimization using memmove for password unlock Martin Kletzander 2023-03-03 11:57:23 +01:00
  • e3b7058110 Reorder logic to improve comprehensibility Alejandro Colomar 2023-02-05 01:29:06 +01:00
  • 5b117d5526 newusers: Fail early Alejandro Colomar 2023-02-04 20:54:43 +01:00
  • 1957c8c881 newusers: Add missing error handling Alejandro Colomar 2023-02-04 20:52:54 +01:00
  • 6491fef1e0 libmisc: Use safer chroot/chdir sequence Samanta Navarro 2023-05-23 11:57:50 +00:00
  • a116e20c76 su: Prevent stack overflow in check_perms Samanta Navarro 2023-05-23 11:55:09 +00:00
  • 4ad359ccc6 subsystem: Prevent endless loop Samanta Navarro 2023-05-23 11:53:53 +00:00
  • 419cf1f1c4 def_load: avoid NULL deref Serge Hallyn 2023-05-19 14:49:04 -05:00
  • 9e854f525d def_load: split the econf from non-econf definition Serge Hallyn 2023-05-19 14:42:04 -05:00
  • 8175b1532e Plug econf memory leaks Tobias Stoeckmann 2023-05-18 17:25:35 +02:00
  • 7321ceaf69 chsh: Verify that login shell path is absolute Samanta Navarro 2023-05-18 11:58:19 +00:00
  • 812f934e77 process_prefix_flag: Drop privileges Samanta Navarro 2023-05-18 11:56:17 +00:00
  • 1132b89236 Update French translations bubu 2023-05-11 17:04:22 -05:00
  • 4ef4477535 get_pid.c: Use tighter validation checks Samanta Navarro 2023-05-12 11:59:47 +00:00
  • a022d39d2a replace inadequate German translation of login error message Markus Hiereth 2023-05-11 17:00:51 -05:00
  • bd6db6f226 Update German translations Markus Hiereth 2023-05-10 09:21:09 -05:00
  • 666468cc36 Remove some static char arrays Samanta Navarro 2023-05-09 11:59:20 +00:00
  • 72290ede0e commonio: Use do_lock_file again Samanta Navarro 2023-05-10 11:57:20 +00:00
  • 4abcbb056e Fix broken docbook translations Serge Hallyn 2023-05-09 07:56:38 -05:00
  • 0bce9c9808 open with O_CREAT when lock path does not exist ed neville 2023-05-06 10:05:47 +01:00
  • 627631bf9a commonio_open: Remove fcntl call Samanta Navarro 2023-05-05 11:59:07 +00:00
  • e899e3d745 commonio_lock_nowait: Remove deprecated code Samanta Navarro 2023-05-05 11:57:06 +00:00
  • 7109b7c066 login_prompt: Simplify login_prompt API Samanta Navarro 2023-04-28 11:57:23 +00:00
  • 3010ec11ae login_prompt: Use _exit in signal handler Samanta Navarro 2023-04-28 11:56:42 +00:00
  • 8fc8de382a login_prompt: Do not parse environment variables Samanta Navarro 2023-04-28 11:55:14 +00:00
  • c0fc4d2122 libmisc/yesno.c: Fix regression Samanta Navarro 2023-04-28 11:54:38 +00:00
  • 0c4fa6ee0a libmisc, man: Drop old check and advice for complex character sets in passwords Alejandro Colomar 2023-03-24 18:23:59 +01:00
  • 7078ed1e0b semanage: disconnect to free libsemanage internals Christian Göttsche 2023-04-01 14:11:06 +02:00
  • a8dd8ce6c9 commonio: free removed database entries Christian Göttsche 2023-04-01 13:36:51 +02:00
  • 4e1f674c41 run_parts for groupadd and groupdel ed neville 2023-03-27 20:23:03 +01:00
  • 15a64f9e7f fix typos lilinjie 2023-04-06 17:08:17 +08:00
  • e28deeb8e9 libmisc/yesno.c: Use getline(3) and rpmatch(3) Alejandro Colomar 2023-04-22 01:59:33 +02:00
  • 7b686d8bd6 newgrp/useradd: always set SIGCHLD to default Samanta Navarro 2023-04-26 11:59:51 +00:00
  • 7ed1df2e80 Update AUTHORS to add Marek Michałkiewicz Serge Hallyn 2023-04-19 11:41:16 -05:00
  • 0c83b98105 Read whole line in yes_or_no Samanta Navarro 2023-01-27 11:53:57 +00:00
  • c80788a3ac useradd/usermod: add --selinux-range argument Christian Göttsche 2023-04-01 14:34:56 +02:00
  • 97f79e3b27 CI: Make build logs more readable Alejandro Colomar 2023-04-05 21:50:28 +02:00
  • 075ed522be ci: remove explicit fedora dependencies Iker Pedrosa 2023-04-13 12:49:31 +02:00
  • e047a3acc6 README: add reference to contribution guidelines Iker Pedrosa 2023-03-14 16:45:25 +01:00
  • 981bb8f9d1 doc: add contributions introduction Iker Pedrosa 2023-03-14 16:44:33 +01:00
  • f6f14a2a83 doc: add license Iker Pedrosa 2023-03-14 16:44:12 +01:00
  • 29df94eb4a doc: add releases Iker Pedrosa 2023-03-14 16:43:57 +01:00
  • 6ceddd9205 doc: add Continuous Integration Iker Pedrosa 2023-03-14 16:43:23 +01:00
  • 77c6cc9857 doc: add tests Iker Pedrosa 2023-03-14 16:42:22 +01:00
  • d40c58dc3b doc: add coding style Iker Pedrosa 2023-03-14 16:41:53 +01:00
  • 1f15ea5955 doc: add build & install Iker Pedrosa 2023-03-14 16:41:30 +01:00
  • 30f3ea4bd3 trivial: vipw.8: fix grammar Serge Hallyn 2023-03-31 18:00:12 -05:00
  • 2eee4c67f5 sssd: skip flushing if executable does not exist Christian Göttsche 2023-04-01 13:44:48 +02:00
  • 2eaea70111 Overhaul valid_field() Christian Göttsche 2023-03-31 14:46:50 +02:00
  • a5f9ef8b7f semanage: Do not set default SELinux range Martin Kletzander 2023-03-03 15:09:19 +01:00
  • b44d7f78e0 Fix typo in groupadd usage Michael Vetter 2023-03-31 11:47:40 +02:00
  • 189a01f7a7 ci: update Differential ShellCheck Christian Göttsche 2023-03-31 14:56:23 +02:00
  • e5905c4b84 Added control character check tomspiderlabs 2023-03-23 23:39:38 +00:00
  • bd2d0079c9 usermod: respect --prefix for --gid option Mike Gilbert 2023-03-25 21:16:55 -04:00
  • 4c210a29bc Fix su(1) silent truncation Alejandro Colomar 2023-03-13 01:21:42 +01:00
  • 1d7d94ed7d Simplify is_my_tty() Alejandro Colomar 2023-03-13 00:59:22 +01:00
  • e27ca53091 Fix is_my_tty() buffer overrun Alejandro Colomar 2023-03-13 00:41:00 +01:00
  • 664d361fa5 Add STRLEN(): a constexpr strlen(3) for string literals Alejandro Colomar 2023-03-13 01:51:12 +01:00
  • 03af2940f7 Fix crash with large timestamps Alejandro Colomar 2023-03-13 00:05:04 +01:00
  • ea3d49506f Prefer strcpy(3) to strlcpy(3) when either works Paul Eggert 2023-03-11 00:02:45 -08:00
  • a926a26f0c Fix change_field() buffer underrun Paul Eggert 2023-03-11 13:43:36 -08:00
  • 690ca8c238 Omit unneeded test in change_field() Paul Eggert 2023-03-11 13:41:54 -08:00
  • 5686d9162e Simplify change_field() by using strcpy Paul Eggert 2023-03-11 00:01:02 -08:00
  • c089196e15 Fix null dereference in basename skyler-ferrante 2023-03-22 12:46:56 -04:00
  • 300d6ef45c CI: script for local container build Iker Pedrosa 2023-03-14 12:23:50 +01:00
  • d4f31a5b3e CI: build project in containers Iker Pedrosa 2023-03-03 15:30:55 +01:00
  • 411a66476d container: add fedora Iker Pedrosa 2023-03-03 12:44:10 +01:00
  • 3efab2039f container: add debian Iker Pedrosa 2023-03-03 15:20:41 +01:00
  • baff19767d container: add alpine Iker Pedrosa 2023-03-03 13:10:12 +01:00
  • 53a4bda9ba SECURITY.md: add Iker Pedrosa Iker Pedrosa 2023-03-20 16:46:43 +01:00
  • f2c4949707 selinux: use type safe function pointer assignment Christian Göttsche 2023-03-06 16:50:47 +01:00
  • 37bf59067f Use strict prototype in definition Christian Göttsche 2023-03-06 16:50:30 +01:00
  • e638841f5a Add .editorconfig Vinícius dos Santos Oliveira 2023-02-25 11:35:05 -03:00
  • 61ca915ac5 run_some: fix shellcheck warning Serge Hallyn 2023-02-27 21:16:38 -06:00
  • 6d03bbea96 fail on any run_some test failure Serge Hallyn 2023-02-27 20:33:12 -06:00
  • add4ab4bf0 ignore first test in run_some Serge Hallyn 2023-02-27 15:05:47 -06:00
  • 4da831c02f swap first two tests - does the first one still fail? Serge Hallyn 2023-02-27 14:24:11 -06:00
  • 421c6cf951 tests: remove some github runner PATH tweaking Serge Hallyn 2023-02-24 22:25:58 -06:00
  • a72065a108 tests: Support git-worktree(1) Alejandro Colomar 2023-02-26 15:39:15 +01:00
  • 4445cee19d tests: newuidmap and newgidmap: update expected fail message Serge Hallyn 2023-02-24 21:26:01 -06:00
  • aa15bc445e libsubid: include alloc.h Serge Hallyn 2023-02-24 21:10:57 -06:00
  • 9a9e163e71 run_some: log stderr Serge Hallyn 2023-02-24 17:52:25 -06:00
  • 05e2adf509 Validate fds created by the user Vinícius dos Santos Oliveira 2023-02-24 18:06:02 -03:00
  • 7ff33fae6f get_pidfd_from_fd: return -1 on error, not 0 Serge Hallyn 2023-02-24 13:52:32 -06:00
  • 17efd59252 g-h-a workflow: workaround Serge Hallyn 2023-02-24 13:17:42 -06:00