Commit Graph

  • 983a844633 zustr2stp.h: Add ZUSTR2STP() macro Alejandro Colomar 2023-07-30 18:45:47 +02:00
  • 02b1471d5b Call zustr2stp() where appropriate Alejandro Colomar 2023-07-30 18:07:35 +02:00
  • 6a576391d6 zustr2stp.[ch]: Add zustr2stp() Alejandro Colomar 2023-07-30 17:39:59 +02:00
  • ec1cc096e8 libmisc: Fix wrong #include Alejandro Colomar 2023-07-30 17:55:20 +02:00
  • f3ee47fe3f Use MEMZERO() instead of its pattern Alejandro Colomar 2023-07-30 14:03:07 +02:00
  • 64ab401239 memzero.h: Add MEMZERO() macro Alejandro Colomar 2023-07-30 14:32:39 +02:00
  • e299942189 sizeof.h: Add SIZEOF_ARRAY() macro Alejandro Colomar 2023-07-30 14:29:45 +02:00
  • 49ea7327d9 sizeof.h: Make NITEMS() and derivative macros safe against pointers Alejandro Colomar 2023-07-30 14:26:27 +02:00
  • c3a8d02b9f must_be.h: Add must_be_array() macro Alejandro Colomar 2023-08-04 19:49:57 +02:00
  • 10f31a97e2 must_be.h: Add must_be() macro Alejandro Colomar 2023-07-30 14:12:45 +02:00
  • 328958ca01 sizeof.h: Move sizeof()-related macros to their own header Alejandro Colomar 2023-07-30 14:05:10 +02:00
  • 246edc0481 memzero.h: Remove no-op assignment Alejandro Colomar 2023-07-31 13:20:19 +02:00
  • 2daa6cc65d memzero.[ch]: Define memzero() and strzero() as inline functions Alejandro Colomar 2023-07-30 13:30:47 +02:00
  • fca2fd65c0 memzero.h: Remove outdated comments Alejandro Colomar 2023-07-30 13:24:43 +02:00
  • 6b11077f09 memzero.h: Move memzero() and strzero() to their own header Alejandro Colomar 2023-07-30 13:18:03 +02:00
  • 093fb605f9 lib: Merge libmisc into libshadow Alejandro Colomar 2023-08-28 12:54:22 +02:00
  • c34c2606cf lib, libmisc: Move source files to lib (where their headers were) Alejandro Colomar 2023-08-25 11:29:00 +02:00
  • f76c31f50e Avoid usage of sprintf Christian Göttsche 2023-01-26 20:49:41 +01:00
  • e0d3ba6934 commonio: check for path truncations Christian Göttsche 2023-01-26 20:58:24 +01:00
  • 54ab542887 lib/btrfs: avoid NULL-dereference Christian Göttsche 2023-01-26 21:03:56 +01:00
  • a08021eb0e lib/commonio: drop dead store Christian Göttsche 2023-01-26 21:40:47 +01:00
  • 931e7c0c2f login: use strlcpy to always NUL terminate Christian Göttsche 2023-01-26 20:24:09 +01:00
  • 15f4421f10 lib: avoid dropping const qualifier during cast Christian Göttsche 2023-02-28 15:41:20 +01:00
  • 856ffcfa5e Drop unnecessary cast to same type Christian Göttsche 2023-01-26 22:55:12 +01:00
  • 35edae5892 Declare usage and failure handler noreturn Christian Göttsche 2023-01-26 22:08:43 +01:00
  • 1aaa4ec5ba lib/tcbfuncs: operate on file descriptor rather than path Christian Göttsche 2023-02-28 16:05:09 +01:00
  • f45498a6c2 libmisc/write_full.c: Improve write_full() Alejandro Colomar 2023-08-05 01:04:04 +02:00
  • 890f911e17 Replace __{BEGIN,END}_DECLS with #ifdef __cplusplus Heiko Becker 2023-08-18 18:23:56 +02:00
  • 014536f5d5 release 4.14.0 4.14.0 Serge Hallyn 2023-08-15 21:38:30 -05:00
  • ca0f828e7a pre-release 4.14.0-rc5 4.14.0-rc5 Serge Hallyn 2023-08-14 11:51:36 -05:00
  • ebad5f840a configure.ac: check for strlcpy Serge Hallyn 2023-08-14 08:27:30 -05:00
  • ae2a4507ed Remove intree website Michael Vetter 2023-08-14 08:57:40 +02:00
  • c1924dc5a1 4.14.0-rc4 pre-release 4.14.0-rc4 Serge Hallyn 2023-08-12 23:17:52 -05:00
  • ee3e6112d3 Releases: add etc/shadow-maint to distfiles Serge Hallyn 2023-08-11 12:47:41 -05:00
  • 2492fc00d4 4.14.0-rc3 4.14.0-rc3 Serge Hallyn 2023-08-10 09:33:07 -05:00
  • 776bbd0ccb libmisc: include freezero Iker Pedrosa 2023-08-10 09:46:38 +02:00
  • 0e0a310acf libmisc: add freezero source code Iker Pedrosa 2023-08-10 09:45:32 +02:00
  • 7d5eeb2135 libmisc: add readpassphrase source code Iker Pedrosa 2023-08-08 16:01:41 +02:00
  • c408c4ad3d configure: add with-libbsd option Iker Pedrosa 2023-08-10 09:15:04 +02:00
  • 6ddd10482b man: include shadow-man.xsl in tarball Iker Pedrosa 2023-08-08 12:52:21 +02:00
  • 8e17459fa1 man: include its.rules in tarball Iker Pedrosa 2023-08-08 12:50:27 +02:00
  • c89b326350 autogen: enable lastlog build Iker Pedrosa 2023-08-07 10:12:04 +02:00
  • 969549fdf0 Add wrapper for write(2) Christian Göttsche 2023-02-28 16:35:05 +01:00
  • d63f3a0c0a tag 4.14.0-rc2 4.14.0-rc2 Serge Hallyn 2023-08-04 16:24:54 -05:00
  • d0518cc250 Add new files to libmisc_la_SOURCES Michael Vetter 2023-08-04 14:26:50 +02:00
  • 4107c49ecd Add a make dist CI test Serge Hallyn 2023-08-04 09:59:56 -05:00
  • 95296dfd67 4.14.0-rc1 4.14.0-rc1 Serge Hallyn 2023-07-31 09:39:12 -05:00
  • cf5596fc79 remove xmalloc.c from POTFILES.in Serge Hallyn 2023-08-03 08:24:44 -05:00
  • f2155fadf1 logoutd: add missing <utmp.h> include Iker Pedrosa 2023-07-21 08:35:17 +02:00
  • 02e3e04205 CI: compile old utmp interface in Fedora Iker Pedrosa 2023-07-21 08:26:51 +02:00
  • 50affc546f src: add SELINUX library Iker Pedrosa 2023-07-19 13:00:17 +02:00
  • 78c09e3afe libmisc: conditionally compile utmp.c and logind.c Iker Pedrosa 2023-07-19 12:41:06 +02:00
  • 3b7cc05387 lib: replace USER_NAME_MAX_LENGTH macro Iker Pedrosa 2023-07-19 12:05:09 +02:00
  • fb8f44d73f libmisc: call active_sessions_count() Iker Pedrosa 2023-07-19 12:02:31 +02:00
  • ede0665a5a libmisc: implement active_sessions_count() Iker Pedrosa 2023-07-19 11:02:55 +02:00
  • 1f368e1c18 utmp: update update_utmp() Iker Pedrosa 2023-07-19 09:42:35 +02:00
  • 6b7108e347 utmp: move update_utmp Iker Pedrosa 2023-07-18 16:48:02 +02:00
  • b6ca83ea4c utmp: move failtmp() Iker Pedrosa 2023-07-18 16:36:35 +02:00
  • f40bdfa66a libmisc: implement get_session_host() Iker Pedrosa 2023-07-18 15:56:46 +02:00
  • fb35ad15ae configure: new option enable-logind Iker Pedrosa 2023-07-18 11:33:02 +02:00
  • 7bced397c9 shadow userdel: add the adaptation to the busybox ps in 01-kill_user_procs.sh xiongshenglan 2023-07-19 15:13:06 +08:00
  • a692c880f1 chsh: warn if root sets a shell not listed in /etc/shells Michael Vetter 2023-07-26 10:13:53 +02:00
  • e5f05d7812 doc: mention ci workflow file to learn about deps Michael Vetter 2023-07-26 11:24:29 +02:00
  • 35e91daba0 man/po/Makefile: add a comment to shadow-man-pages.pot Serge Hallyn 2023-07-15 07:50:34 -05:00
  • 9df4801e0b newgrp: fix potential string injection Vegard Nossum 2023-07-21 14:55:19 +02:00
  • 2643f27b36 lastlog: fix alignment of Latest header Todd Zullinger 2023-07-17 23:16:00 -04:00
  • 6f4dc321c3 configure: fix lastlog check Iker Pedrosa 2023-07-17 15:04:19 +02:00
  • 65255ea304 subuid.5: reference newusers(8) rather than newusers(1) Alan D. Salewski 2023-07-15 16:36:06 -04:00
  • c69fd917e3 CI: build lastlog in Fedora Iker Pedrosa 2023-07-13 15:33:07 +02:00
  • acea93eda9 man: conditionally build lastlog documentation Iker Pedrosa 2023-07-13 15:30:22 +02:00
  • 03251ffbc0 usermod: conditionally build lastlog functionality Iker Pedrosa 2023-07-13 15:25:03 +02:00
  • d60595d8f2 useradd: conditionally build lastlog functionality Iker Pedrosa 2023-07-13 15:24:37 +02:00
  • 84a10ca019 login: conditionally build lastlog functionality Iker Pedrosa 2023-07-13 12:59:33 +02:00
  • 1bdcfa8d37 lastlog: stop building by default Iker Pedrosa 2023-07-13 12:54:04 +02:00
  • a0eeb9fbf2 CI: update debian repos Iker Pedrosa 2023-07-14 11:39:33 +02:00
  • 29da702491 Fix yescrypt support Bernd Kuhls 2023-07-09 10:55:03 +02:00
  • d7ce68863e debian/login.pam: Drop reference to Debian Etch Balint Reczey 2023-07-02 20:59:28 +02:00
  • 53a17c1742 chgpasswd: fix segfault in command-line options Jeffrey Bencteux 2023-06-21 15:12:43 +02:00
  • 65c88a43a2 gpasswd(1): Fix password leak Alejandro Colomar 2023-06-10 16:20:05 +02:00
  • e69d556b63 src/useradd.c: create_mail(): Cosmetic Alejandro Colomar 2023-06-07 23:56:30 +02:00
  • 0a90118089 src/useradd.c: create_home(): Cosmetic Alejandro Colomar 2023-06-07 23:56:29 +02:00
  • adf8b3f64f src/useradd.c: create_home(): Cosmetic Alejandro Colomar 2023-06-07 23:56:28 +02:00
  • c01664c30c src/useradd.c: create_home(): Cosmetic Alejandro Colomar 2023-06-07 23:56:27 +02:00
  • 7415885fb3 src/useradd.c: close_group_files(): Cosmetic Alejandro Colomar 2023-06-07 23:56:26 +02:00
  • 89bdd3660c src/useradd.c: check_uid_range(): Cosmetic Alejandro Colomar 2023-06-07 23:56:25 +02:00
  • 4b06c28353 build: link passwd, chpasswd and chage against libdl Jaroslav Jindrak 2023-05-05 20:29:58 +02:00
  • cc0aaaa18f configure: check whether fgetpwent_r is available before marking xprefix_getpwnam_r as reentrant Jaroslav Jindrak 2023-05-04 22:41:02 +02:00
  • 68bf73f319 passwd: fall back to non-PAM code when prefix is used Jaroslav Jindrak 2023-05-03 22:38:28 +02:00
  • 2d0beef3bb chpasswd: fall back to non-PAM code when prefix is used Jaroslav Jindrak 2023-05-03 18:59:50 +02:00
  • 13b0a2bf3b chpasswd: add --prefix/-P options Jaroslav Jindrak 2023-04-28 20:30:18 +02:00
  • ef8a4449b1 chage: add --prefix/-P options Jaroslav Jindrak 2023-04-21 22:24:36 +02:00
  • 43e60eb681 passwd: Respect --prefix/-P options Jaroslav Jindrak 2023-04-21 20:50:41 +02:00
  • ded9cab35d prefix: add prefix support Michael Vetter 2023-04-17 15:39:47 +02:00
  • 89a7ee7b22 strtoday: remove unnecessary cast Iker Pedrosa 2023-06-07 14:58:34 +02:00
  • 787ea57a18 Use temporary variable Alejandro Colomar 2023-05-27 15:56:08 +02:00
  • f2ac1e2540 realloc(NULL, ...) is equivalent to malloc(...) Alejandro Colomar 2023-05-27 15:35:13 +02:00
  • 09775d3718 Simplify allocation APIs Alejandro Colomar 2023-04-05 21:17:38 +02:00
  • 065a752b42 Drop alloca(3) Christian Göttsche 2023-02-28 15:50:20 +01:00
  • 7a2b302e68 usermod: fix off-by-one issues Christian Göttsche 2023-03-02 16:18:45 +01:00
  • 170d24a251 libmisc/csrand.c: Update comments Alejandro Colomar 2023-06-03 19:25:00 +02:00