8000 stable v2.39.3 by karelzak · Pull Request #2599 · util-linux/util-linux · GitHub
[go: up one dir, main page]

Skip to content

stable v2.39.3 #2599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 67 commits into from
Nov 30, 2023
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
7d6c71e
include: add DragonFlyBSD GPT partition types
t-8ch Aug 28, 2023
44d7bf2
lslogins: (man) fix -y option formatting
t-8ch Aug 28, 2023
b66da7c
losetup: fix JSON MAJ:MIN
karelzak Aug 28, 2023
64418c5
libblkid: (zonefs) avoid modifying shared buffer
t-8ch Aug 29, 2023
c54c99e
libblkid: (jmicron_raid) avoid modifying shared buffer
t-8ch Aug 29, 2023
d2cadf0
libblkid: (jmicron_raid) use checksum APIs
t-8ch Aug 29, 2023
e9ed5a2
libblkid: (vfat) avoid modifying shared buffer
t-8ch Aug 29, 2023
13711f3
libmount: fix statx() includes
karelzak Aug 23, 2023
c697c2b
libmount: report statx in features list
karelzak Aug 31, 2023
aa98c4e
libmount: make.stx_mnt_id use more robust
karelzak Aug 31, 2023
45c6136
autotools: fix typos
karelzak Sep 11, 2023
a711af0
lscpu: Use 4K buffer size instead of BUFSIZ
kraj Sep 15, 2023
98be90b
build-sys: fix libmount/src/hooks.c use
karelzak Sep 18, 2023
be3f171
login: move comment
stoeckmann Sep 19, 2023
5c250aa
login: Use pid_t for child_pid
stoeckmann Sep 19, 2023
c26badd
libfdisk: handle allocation failure in fdisk_new_partition
t-8ch Sep 22, 2023
dbde7a5
more: avoid out-of-bound access
t-8ch Sep 22, 2023
4459623
libmount: gracefully handle NULL path in mnt_resolve_target()
t-8ch Sep 22, 2023
813851f
libblkid: avoid memory leak of cachefile path
t-8ch Sep 22, 2023
83ba179
lib/env: avoid underflow of read_all_alloc() return value
t-8ch Sep 22, 2023
03c12a3
lslogins: fix realloc() loop allocation size
t-8ch Sep 22, 2023
f5cace8
ldattach: don't call exit() from signal handler
t-8ch Sep 22, 2023
f368ccc
libsmartcols: handle nameless tables in export format
t-8ch Sep 22, 2023
7e5056f
libblkid: (ntfs) validate that sector_size is a power of two
t-8ch Sep 25, 2023
087b0d2
libblkid: (vxfs) report endianness
t-8ch Sep 26, 2023
368521e
script-playutils: close filestream in case ignore_line() fails
t-8ch Sep 27, 2023
3d31216
lib/idcache: always gracefully handle null cache
t-8ch Sep 27, 2023
2bddfa6
libblkid: (probe) handle probe without chain gracefully
t-8ch Sep 27, 2023
b718f98
docs: use HTTPS for GitHub clone URLs
jwilk Oct 2, 2023
cce4e44
blkid: fix call to err_exclusive_options
t-8ch Oct 2, 2023
4159905
libfdisk: reset errno before calling read()
t-8ch Oct 2, 2023
8de8977
setpriv: fix group argument completion
t-8ch Oct 2, 2023
edc723c
libblkid: reset errno before calling probefuncs
t-8ch Oct 2, 2023
5ec30a3
lib/path: fix possible out of boundary access
stoeckmann Oct 8, 2023
f8ab704
lib/path: set errno in case of error
stoeckmann Oct 8, 2023
f27fbaf
lib/path: fix typos
stoeckmann Oct 8, 2023
cefd05c
autotools: fix librtas check
karelzak Oct 9, 2023
e2f0aa5
autotools: fix AC_DEFINE_UNQUOTED() use
karelzak Oct 9, 2023
9ca6f17
lib/path: Set errno in case of fgets failure
stoeckmann Oct 10, 2023
d065ff0
blkpr: store return value of getopt_long in int
t-8ch Oct 11, 2023
7058d79
libblkid: exfat: fix fail to find volume label
YuezhangMo Oct 11, 2023
3a5c9c1
Use empty libuser config file.
mator Oct 12, 2023
da18b31
lscpu: fix caches separator for --parse=<list>
karelzak Oct 12, 2023
122d7e7
umount: handle bindmounts during --recursive
t-8ch Oct 17, 2023
7cc2c96
Update col.c to fix option mistake
Connor-GH Oct 21, 2023
64d2300
Fix man page for col to correct documentation error
Connor-GH Oct 21, 2023
5ec7b14
setterm: avoid restoring flags from uninitialized memory
zeha Oct 31, 2023
e7dbe9c
include/audit-arch: add missing SPDX
karelzak Nov 1, 2023
fdd9f11
disk-utils: add SPDX and Copyright notices
karelzak Nov 1, 2023
c14f5bf
docs: add SPDX to boilerplate.c
karelzak Nov 1, 2023
bf2cd1d
libmount: improve mnt_table_next_child_fs()
karelzak Nov 2, 2023
c6c1c69
meson: install write executable with group 'tty'
eworm-de Oct 31, 2023
a6def81
meson: install wall executable with group 'tty'
eworm-de Nov 2, 2023
93239aa
libmount: fix possible NULL dereference [coverity scan]
karelzak Nov 6, 2023
84a62c1
libuuid/src/gen_uuid.c: fix cs_min declaration
ffontaine Nov 7, 2023
ece1940
libuuid: avoid truncate clocks.txt to improve performance
Oct 10, 2023
3c5d991
libblkid: (bcachefs) adapt to major.minor version
t-8ch Jul 9, 2023 8000
fa9b536
libblkid: (bcachefs) add support for sub-device labels
t-8ch Sep 26, 2023
6498439
tests: skip broken tests on docker
t-8ch May 31, 2023
0b3254c
Merge branch 'stable-2.39/bcachefs-fixes' of https://github.com/t-8ch…
karelzak Nov 27, 2023
2e5f5c8
tests: add ts_skip_docker
t-8ch May 31, 2023
ec1b0eb
libmount: accept '\' as escape for options separator
karelzak Nov 28, 2023
b75322c
Add Phytium FTC862 cpu model.
Sep 12, 2023
8d78c13
Add Phytium FTC310 & FTC664 support
Ssspade Nov 29, 2023
756588f
lsfd: (man) fix the form for the optional argument of --inet option
masatake Jul 12, 2023
192d8aa
lsfd: avoid undefined behavior
t-8ch Nov 19, 2023
e8cb61f
lsfd: fix memory leak in append_filter_expr()
karelzak Nov 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
login: move comment
In 0b4d75f the variable "timeout" has
been moved from global to local scope, but its comment was not.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
  • Loading branch information
stoeckmann authored and karelzak committed Nov 24, 2023
commit be3f1712ee2e1e43d9b82b7cf4987c8a609a81ef
8 changes: 4 additions & 4 deletions login-utils/login.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ struct login_context {
keep_env:1; /* login -p */
};

/*
* This bounds the time given to login. Not a define, so it can
* be patched on machines where it's too small.
*/
static int child_pid = 0;
static volatile sig_atomic_t got_sig = 0;
static char *timeout_msg;
Expand Down Expand Up @@ -1301,6 +1297,10 @@ static void initialize(int argc, char **argv, struct login_context *cxt)
{NULL, 0, NULL, 0}
};

/*
* This bounds the time given to login. Not a define, so it can
* be patched on machines where it's too small.
*/
timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT);

/* TRANSLATORS: The standard value for %u is 60. */
Expand Down
0