-
c5d3d4be36
Workaround dh_missing complaint
Chris Hofstaedtler
2024-07-07 15:48:51 +02:00
-
6170f973ff
Merge branch 'linux-options' into 'master'
Chris Hofstaedtler
2024-07-07 13:30:06 +00:00
-
-
1c7262b6e2
Merge branch 'rm-groupmems' into 'master'
Chris Hofstaedtler
2024-07-07 13:28:30 +00:00
-
-
e9cceb62ce
login.defs: remove obscure, defaulted vars
Chris Hofstaedtler
2024-07-07 15:22:58 +02:00
-
75904cfd05
login.defs: resync comments with upstream
Chris Hofstaedtler
2024-07-07 14:47:51 +02:00
-
f8e81f7293
login.defs: remove CONSOLE, ignored with PAM
Chris Hofstaedtler
2024-07-07 14:26:10 +02:00
-
d0c5da8cf1
login.defs: remove CONSOLE_GROUPS, ignored with PAM
Chris Hofstaedtler
2024-07-07 14:24:12 +02:00
-
5f784b3ef3
login.defs: remove vars ignored by su(1)
Chris Hofstaedtler
2024-07-07 14:21:33 +02:00
-
fd652cdf40
login.defs: remove incomplete list of unused vars
Chris Hofstaedtler
2024-07-07 14:14:13 +02:00
-
a5d765523b
login.defs: remove obsolete/confusing comments
Chris Hofstaedtler
2024-07-07 14:13:45 +02:00
-
9b4bfac4ef
Turn login.defs file into a patch
Chris Hofstaedtler
2024-07-07 14:08:06 +02:00
-
d7b0c262ba
Stop installing groupmems(8)
Chris Hofstaedtler
2024-07-07 14:03:54 +02:00
-
-
82e88c1e9b
d/rules: actually enable Linux-only options on Linux
Pino Toscano
2024-07-07 06:59:58 +02:00
-
-
e5b7b9fde8
Add Build-Depends: libcmocka-dev to run build-time tests
buildtime-tests
Chris Hofstaedtler
2024-06-23 13:27:21 +02:00
-
-
-
688fb93702
Update changelog for 1:4.15.3-1 release
debian/1%4.15.3-1
Chris Hofstaedtler
2024-07-06 23:51:09 +02:00
-
43bf5f3b39
Fix setup of test libsubid-04_nss
Chris Hofstaedtler
2024-07-06 23:37:02 +02:00
-
7c7e8f5c18
Bump Standards-Version to 4.7.0
Chris Hofstaedtler
2024-07-06 23:30:23 +02:00
-
81313b4c5d
Run wrap-and-sort -a
Chris Hofstaedtler
2024-07-06 23:30:00 +02:00
-
632746518a
Drop login.postinst, obsoleted by #1074121
Chris Hofstaedtler
2024-07-06 23:28:49 +02:00
-
a6f8d25673
Rebase patches
Chris Hofstaedtler
2024-07-06 22:47:48 +02:00
-
9b0bef767c
tests: follow upstream subdir fix
Chris Hofstaedtler
2024-07-06 16:56:01 +02:00
-
61085fbfef
Update upstream source from tag 'upstream/4.15.3'
Chris Hofstaedtler
2024-07-06 16:54:27 +02:00
-
-
-
-
61472718df
pristine-tar data for shadow_4.15.3.orig.tar.xz
Chris Hofstaedtler
2024-07-06 16:54:26 +02:00
-
9f68246a01
New upstream version 4.15.3
upstream/4.15.3
Chris Hofstaedtler
2024-07-06 16:53:58 +02:00
-
cee79c215a
lib/port.c: getportent(): Use strsep(3) instead of its pattern
Alejandro Colomar
2024-07-02 18:57:44 +02:00
-
882db57f24
lib/port.c: getportent(): Align variables
Alejandro Colomar
2024-07-02 18:37:57 +02:00
-
b4b4ff633a
lib/port.c: getttyuser(): Use pointer arithmetic to simplify
Alejandro Colomar
2024-07-02 16:16:29 +02:00
-
d9d0117e80
lib/port.c: getportent(): Use equivalent code to parse equally-formatted fields
Alejandro Colomar
2024-07-02 15:05:21 +02:00
-
a198054456
lib/port.c: getportent(): Make sure the aren't too many fields in the CSV
Alejandro Colomar
2024-07-02 14:51:04 +02:00
-
c3f97e251e
lib/port.c: getportent(): Make sure there are at least 2 ':' in the line
Alejandro Colomar
2024-07-02 14:43:26 +02:00
-
f1f82c2105
lib/port.c: getportent(): Remove obvious comments
Alejandro Colomar
2024-07-02 14:26:19 +02:00
-
e790993c5d
lib/port.c: getportent(): Rename goto label
Alejandro Colomar
2024-07-02 14:23:19 +02:00
-
bf84b3a855
lib/port.c: getttyuser(): Use goto to break out of nested loops
Alejandro Colomar
2024-07-02 15:49:48 +02:00
-
a4b91048e9
lib/port.c: getttyuser(): Remove dead code
Alejandro Colomar
2024-07-02 14:03:27 +02:00
-
53ea42e67f
contrib/adduser.c: main(): Use strcpy/cat(3) instead of their pattern
Alejandro Colomar
2024-05-19 02:05:16 +02:00
-
59e5eef38f
contrib, lib/, src/, tests/: Use stpcpy(3) instead of its pattern
Alejandro Colomar
2024-05-19 01:53:12 +02:00
-
c6018240f8
lib/, src/: Use strrspn() instead of its pattern
Alejandro Colomar
2024-05-18 21:38:24 +02:00
-
7c9da42db0
lib/sssd.c: Style fixes
Alejandro Colomar
2024-05-18 23:45:46 +02:00
-
813c3ec6c5
src/login_nopam.c: login_access(): Simplify, calling strchr(3)
Alejandro Colomar
2024-05-18 22:03:08 +02:00
-
9174697469
lib/getdef.c: def_load(): Use stp[c]spn() instead of their patterns
Alejandro Colomar
2024-05-19 01:00:21 +02:00
-
2fcf520184
lib/string/strchr/: stp[c]spn(), strrspn(), strnul(): Add macros and functions
Alejandro Colomar
2024-05-18 20:41:30 +02:00
-
b38ee0c6d0
src/chage.c: Simplify, by calling a2sl() instead of str2sl()
Alejandro Colomar
2024-01-09 21:44:05 +01:00
-
ab9f4da83f
src/faillog.c: Simplify, by calling str2sh() instead of str2sl()
Alejandro Colomar
2024-01-09 21:39:43 +01:00
-
0464c1abf1
src/usermod.c: Simplify, by calling a2sl() instead of str2sl()
Alejandro Colomar
2024-01-09 21:22:30 +01:00
-
e341291f99
src/passwd.c: Simplify, by calling a2sl() instead of str2sl()
Alejandro Colomar
2024-01-09 21:21:00 +01:00
-
b178fed180
src/useradd.c: Simplify, by calling a2sl() instead of str2sl()
Alejandro Colomar
2024-01-09 21:17:13 +01:00
-
ebdeb8f22a
src/: Use get_[ug]id() where appropriate
Alejandro Colomar
2024-01-09 20:54:38 +01:00
-
a11ae5cf29
lib/shadow.c: my_sgetspent(): Simplify error handling
Alejandro Colomar
2024-01-09 20:20:07 +01:00
-
7e754cc447
lib/shadow.c: my_sgetspent(): Remove dead code
Alejandro Colomar
2024-01-09 20:21:39 +01:00
-
e9cc053df7
lib/shadow.c: my_sgetspent(): Merge 'else {if}' into 'else if'
Alejandro Colomar
2024-01-09 20:09:58 +01:00
-
326bdfe70b
lib/sgetspent.c: sgetspent(): Simplify, by calling a2sl() instead of str2sl()
Alejandro Colomar
2024-01-09 20:04:43 +01:00
-
03521bccce
lib/limits.c: setup_limits(): Simplify, by calling str2i(mode_t, ) instead of str2ul()
Alejandro Colomar
2024-01-09 20:03:58 +01:00
-
3fd1d62e29
lib/limits.c: setup_limits(): Simplify, by calling str2si() instead of str2sl()
Alejandro Colomar
2024-01-09 20:03:33 +01:00
-
312c3b1389
lib/limits.c: setup_limits(): Simplify, by calling a2si() instead of str2sl()
Alejandro Colomar
2024-01-09 20:03:16 +01:00
-
169cbe1f56
lib/limits.c: set_umask(): Simplify, by calling str2i(mode_t, ) instead of str2ul()
Alejandro Colomar
2024-01-09 20:02:38 +01:00
-
dba5600cef
lib/limits.c: set_prio(): Simplify, by calling str2si() instead of str2sl()
Alejandro Colomar
2024-01-09 20:01:57 +01:00
-
5f2055c395
lib/getdef.c: getdef_long(): Simplify, by calling a2sl() instead of str2sl()
Alejandro Colomar
2024-01-09 20:01:09 +01:00
-
45d4472c92
lib/getdef.c: getdef_unum(): Fix wrong limit check
Alejandro Colomar
2024-01-09 20:00:03 +01:00
-
9415ce4a14
lib/getdef.c: getdef_num(): Simplify, by calling a2si() instead of str2sl()
Alejandro Colomar
2024-01-09 19:58:02 +01:00
-
866d911655
Remove groups(1)
Alejandro Colomar
2024-07-01 00:06:48 +02:00
-
c7981fdd00
Remove id(1)
Alejandro Colomar
2024-05-29 14:41:45 +02:00
-
379e9c32f7
lib/idmapping.c: Use long constants in prctl(2), and remove 0s
Alejandro Colomar
2024-05-31 18:30:16 +02:00
-
060b0849a6
lib/attr.h: Use C23-style attributes
Alejandro Colomar
2024-07-01 00:24:40 +02:00
-
4eed3e84a1
lib/gshadow.c: Use XREALLOC() instead of silently continuing on ENOMEM
Alejandro Colomar
2024-06-30 23:55:56 +02:00
-
53e1eb4045
src/: Remove dead code
Alejandro Colomar
2024-06-30 23:50:31 +02:00
-
ba3a51e90f
lib/: Use [[gnu::alloc_size(...)]] on allocation functions
Alejandro Colomar
2024-06-29 18:43:47 +02:00
-
5111e5ed1b
lib/: Use multi-line macro definitions
Alejandro Colomar
2024-06-27 17:19:36 +02:00
-
3049bef9c3
lib/alloc/, lib/, src/, tests/: Organize the allocation APIs in a new subdirectory
Alejandro Colomar
2024-06-27 16:42:54 +02:00
-
883bf71fc8
lib/alloc.[ch]: xmalloc(): Remove unused function
Alejandro Colomar
2024-06-27 15:58:18 +02:00
-
29f4f03def
lib/string/strdup/xstrdup.[ch], lib/, src/: Move xstrdup() to its own file
Alejandro Colomar
2024-06-27 14:16:16 +02:00
-
2cf73c99a6
lib/string/strcpy/zustr2stp.[ch], tests/: Remove ZUSTR2STP()
Alejandro Colomar
2024-05-14 18:41:21 +02:00
-
85a2f36992
src/logoutd.c: Use STRNCAT() instead of its pattern
Alejandro Colomar
2024-05-21 13:58:12 +02:00
-
cb3e2fbdcf
src/logoutd.c: Use STRNDUPA() instead of its pattern
Alejandro Colomar
2024-05-14 18:15:55 +02:00
-
ac591763fe
src/newusers.c: Exit on ENOMEM, by calling xstrdup() instead of strdup(3)
Alejandro Colomar
2024-05-14 21:37:53 +02:00
-
103ffc5b1d
lib/utmp.c: prepare_utmp(): Use xstrdup() instead of its pattern
Alejandro Colomar
2024-05-13 15:48:53 +02:00
-
3c09e40a1f
lib/utmp.c: Use XSTRNDUP() instead of its pattern
Alejandro Colomar
2024-05-13 15:47:19 +02:00
-
2a0c0dd24b
lib/string/strdup/: XSTRNDUP(), STRNDUPA(): Add macros
Alejandro Colomar
2024-05-13 15:21:48 +02:00
-
9a9faf86f0
lib/string/strcpy/strncat.[ch]: STRNCAT(): Add macro
Alejandro Colomar
2024-05-21 12:50:27 +02:00
-
d9923431eb
src/: Use xasprintf() instead of its pattern
Alejandro Colomar
2024-05-13 14:37:14 +02:00
-
44ba094766
src/groupmems.c: Fix number of elements in allocation
Alejandro Colomar
2024-05-13 14:46:47 +02:00
-
c287317075
lib/gshadow.c: build_list(): Fix REALLOC() nmemb calculation
Alejandro Colomar
2024-05-13 04:07:51 +02:00
-
056f1d03ee
lib/gshadow.c: build_list(): Fix forever loop on ENOMEM
Alejandro Colomar
2024-05-13 01:24:47 +02:00
-
16cb664865
lib/, src/: Use strsep(3) instead of its pattern
Alejandro Colomar
2024-05-13 01:02:59 +02:00
-
8176e309ed
src/useradd.c: tallylog_reset(): Use Basename() instead of its pattern
Alejandro Colomar
2024-05-13 00:13:41 +02:00
-
964df6ed6e
lib/, src/: Use strchrnul(3) instead of its pattern
Alejandro Colomar
2024-05-12 23:44:35 +02:00
-
077f7b6ade
lib/commonio.c: commonio_open(): MALLOC() and REALLOCF() already set ENOMEM
Alejandro Colomar
2024-05-12 23:15:12 +02:00
-
d611d1a947
lib/: Use REALLOCF() instead of its pattern
Alejandro Colomar
2024-05-13 01:18:48 +02:00
-
23663a1607
lib/, src/: Add missing include
Alejandro Colomar
2024-05-13 16:37:56 +02:00
-
bdf00dca44
lib/failure.c: failprint(): Remove dead code
Alejandro Colomar
2024-05-20 17:34:30 +02:00
-
bfb6aad7cb
lib/, src/: Always pass NULL to time(2)
Alejandro Colomar
2024-05-14 19:58:36 +02:00
-
761eb07016
lib/getdate.y: NULL doesn't need a cast
Alejandro Colomar
2024-05-14 19:49:39 +02:00
-
2cb3deec72
lib/shadow.c: my_sgetspent(): Clarify that we're assigning an empty string
Alejandro Colomar
2024-05-20 16:22:56 +02:00
-
5e11e89fd9
lib/, src/: Reduce scope of local variables
Alejandro Colomar
2024-05-13 23:24:38 +02:00
-
847a19e7a3
src/login.c: Remove dead code
Alejandro Colomar
2024-05-13 14:31:01 +02:00
-
e5d40a1863
src/logoutd.c: Remove unused variable
Alejandro Colomar
2024-05-13 23:18:19 +02:00
-
89402f5171
src/su.c: save_caller_context(): Remove unused parameter
Alejandro Colomar
2024-05-20 17:51:27 +02:00
-
40ab806066
lib/string/strcpy/, lib/, src/, tests/: Move all copying APIs to a subdirectory
Alejandro Colomar
2024-06-27 11:48:16 +02:00
-
22272347b6
lib/string/sprintf/, lib/, src/, tests/: Move all sprintf(3)-like APIs to a subdirectory
Alejandro Colomar
2024-06-27 11:29:56 +02:00
-
89e4be3957
src/get_subid_owners.c: Use uid_t for holding UIDs (and GIDs)
Alejandro Colomar
2024-06-29 19:35:14 +02:00
-
1f7c00b8f7
src/usermod.c: Fix const correctness
Alejandro Colomar
2024-05-06 00:25:41 +02:00