74 Commits

Author SHA1 Message Date
He, Xinzhe
c74f7915ba Libmount: Fix use option "owner" mount failed
When use option "owner" to mount, libmount replaces the "owner" and "group" mount options with "nosuid,nodev".
    However, this can result in an "invaild argument" error because libmount removes the unwanted options first and then tries to address the location for the new options using the already removed options.
    To fix this, need to reverse the order of operations.

Signed-off-by: He, Xinzhe <dev03107@linx-info.com>
(cherry picked from commit 523b1d246e30a148cbd9d0258c0bc09554944875)
2025-03-18 13:44:51 +08:00
Cupcake
863b9a4133 backport community patches 2025-02-28 06:17:01 +08:00
markeryang
3e67b636a9 sync patches from the old version 2024-12-16 02:37:59 +00:00
liuh
17586b5b56 util-linux: fix memory leak and UAF 2024-12-09 21:22:15 +08:00
Wenlong Zhang
c18c98bfc5 loongarch64: skip fragile test fincore/count
(cherry picked from commit 3c59d47f7d16d4a49daa28be9fce9d18f7cc39a6)
2024-12-09 17:31:29 +08:00
laokz
803480f9ac riscv64: skip fragile test misc/flock
The test depends on several small time splice such 0.1, 1, 3 seconds.
That seems fragile on riscv64 machine and mostly leads to failure.

(cherry picked from commit bb4783de57dd326bcefa5c648e02c4addcb849a6)
2024-11-04 10:36:05 +08:00
liweigang
60377a1fa3 Delete the architecture judgment in the patch list
Signed-off-by: liweigang <liweiganga@uniontech.com>
2024-09-12 15:24:15 +08:00
zhangyao
df2014750a reslove install conflicts with procps-ng-i18n together 2024-09-10 11:55:23 +08:00
李宇哲
dc5f15946f Fixed incorrect macro usage in summary fields of devel and help subpackages 2024-08-05 17:17:35 +08:00
zhangyao
18a0dbcba9 sync community patches
(cherry picked from commit 8682196b268acf24f3633b852b71ea24f0c087d6)
2024-07-04 20:22:53 +08:00
zhangyao
f61f27502f fix sfdisk crash caused by wrong translate file
(cherry picked from commit 127c095b21d7b9290ebf68b778b929bd2489bf7e)
2024-05-13 11:23:49 +08:00
liuh
3fa1484908 lsfd: fix memory leak in append_filter_expr()
(cherry picked from commit f90264c6409a9e41d1130bc4be6b1a5bdc37cd96)
2024-04-29 19:44:07 +08:00
zhangyao
e39ba2199d fix mkfds-rw-character-device and mkfds-ro-regular-file test failed
(cherry picked from commit a4b2aa29d50eeb0c0f9bde2dc005c8f1d6e5af29)
2024-04-16 11:33:40 +08:00
zhangyao
e15e1479d3 wall: fix escape sequence Injection
(cherry picked from commit ff7818f897f8f3e0c0d4ddfb655ccf359de3c74d)
2024-04-08 14:06:40 +08:00
jiahua.yu
2b2223b42b Init support for ppc64le 2023-12-01 15:55:41 +08:00
zhangyao
526fc58fb3 fix file conflicts with shadow 2023-08-29 20:27:24 +08:00
zhangyao
b12391c94b fix test failed 2023-08-03 11:10:52 +08:00
zhangyao
50f868a9b6 util-linux: upgrade to 2.39.1 2023-07-18 21:09:29 +08:00
zhangyao
6fe20796c6 sync community patches
(cherry picked from commit f49f6cd29674753ced6d761a00d155692ace3380)
2023-06-15 15:29:09 +08:00
zhangyao
f63973e5e5 sync community patches
(cherry picked from commit 1efe7bf26406dfed2dc9304835801f62f5e8a558)
2023-06-06 09:47:09 +08:00
zhangyao
e4b266fdf2 sync community patches
(cherry picked from commit 6dd51158f697e8922904bf11109bd894487a9419)
2023-06-05 15:48:48 +08:00
zhangyao
bef1c32337 nvidia_raid: validate checksum
(cherry picked from commit 4632a71fdacfcf126501de6cb73f6a82be34f215)
2023-03-16 10:16:08 +08:00
zhangyao
e022c63dda sync community patches
(cherry picked from commit ef94723c9efb49e176facfc11ccea8a5c3a61fce)
2023-03-08 14:06:07 +08:00
zhangyao
1eab4458ba use checksum for jmicron
(cherry picked from commit 328d8f7820369d67e529e113fe9e1e6003dbe2f7)
2023-03-01 14:29:17 +08:00
yangchenguang
465d3f8424 delete support enable-raw 2023-01-31 15:38:15 +08:00
z30031144
7bc10c4dab sync community patches
(cherry picked from commit 5e6cb1e45966615c9366998571e1644299f74bf9)
2022-12-19 11:46:54 +08:00
z30031144
21b86fe6bf fix lsblk endless loop and libblkid buffer overflow
(cherry picked from commit 85d0c094d25bc5ea60c755351c0d2f07b902f933)
2022-11-14 16:45:08 +08:00
z30031144
7256e99e59 Sync community patches
(cherry picked from commit 0c076c6b8e45ffb530b27a96d1e1810a97c5e9ee)
2022-11-08 14:33:06 +08:00
wzx
a6b3c767fe Add sw64 architecture
cherry-pick from: 7a10395d80bce042df073fdef7b81d446b308511

Signed-off-by: wzx <wuzx1226@qq.com>
2022-11-02 20:06:11 +08:00
January
809dede6b1 Merge branch 'master' of https://gitee.com/src-openeuler/util-linux 2022-11-02 19:21:40 +08:00
root
44ba30782b libblkid: (topology) fix read pipe hung and init variables
Addresses: https://gitee.com/src-openeuler/util-linux/issues/I5UO29
Reference: 1d5d50c277
819210f37d
Signed-off-by: January <1398871225@qq.com>
2022-11-02 19:07:51 +08:00
z30031144
d1b81d313c change upstream_major and modify bad date in changelog
cherry-pick from: 5bef2e46e6e95a4280dc66257e8f4abe61797a2f
2022-10-31 22:43:31 +08:00
zhangyao2022
cf778af1bd update util-linux.spec.
cherry-pick from: 294d21caa43c93da1032365c1bae2be2d4c22a1e
2022-10-31 22:43:31 +08:00
shangyibin
a157a9ab24 fix by ignoring EINVAL on remount of proc
cherry-pick from: 0b7633309620df26f57673682eca33806b3826e7
2022-10-31 22:43:31 +08:00
shangyibin
a41a63be62 realloc buffer when header size changed
fix size use for stdin
segmentation fault on invalid unicode input passed to -s option
cherry-pick from: 10e9faf901605af5713bc89a5a36631f2025a956
2022-10-31 22:43:31 +08:00
rwx403335
4d7a0a2821 move hardlink/uclampset completions from util-linux-help to util-linux
cherry-pick from: d33ca3ffaad42c7798919ac4b791fbab0088a611
2022-10-31 22:43:31 +08:00
shangyibin
2a284f3472 Sync community patches
cherry-pick from: 71d623e11e7f9769d716adf07810f0d43b8147df
2022-10-31 22:43:04 +08:00
konglidong
f6b496d2af modify bad date in changelog
cherry-pick from: c8e1babd9cb8bafb8ec099c5db9e6dc5ed04d936
2022-10-31 22:42:03 +08:00
shangyibin
8f2b8fbb46 fix CVE-2021-3995 and CVE-2021-3996
cherry-pick from: f6783d8ca64383166c92276205134ff92b3b83bc
2022-10-31 22:36:26 +08:00
shangyibin
0f4ffc60bd Fallback 2022-06-29 11:23:45 +08:00
shangyibin
eb656bc989 Fallback to move hexdump from util-linux to util-linux-devel 2022-06-29 10:53:29 +08:00
openeuler-ci-bot
28c3b2aeb0
!105 【轻量级PR】修正changelog中的错误日期
From: @konglidong 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2022-06-21 03:33:28 +00:00
shangyibin
10f8fe7c84 sync patches 2022-06-20 17:29:05 +08:00
konglidong
617e59579a modify bad date in changelog 2022-06-15 17:57:10 +08:00
shangyibin
0fa2e38083 fix test fail 2022-06-15 16:14:40 +08:00
rwx403335
762cc68b64 move hardlink/uclampset completions from util-linux-help to util-linux 2022-06-09 14:36:01 +08:00
weiwei_tiantian
f6e9cac6bb update version to 2.37.2
(cherry picked from commit 747155c3f4758ad98930d56e229e69c90f4995e7)
2021-12-28 11:44:56 +08:00
shixuantong
26e0d5772f fix CVE-2021-37600 2021-08-10 12:22:42 +08:00
shixuantong
5a43c8016b remove gdb from BuildRequires 2021-07-22 19:27:04 +08:00
wangchen2020
46b4dd2361 use /sys to read all block devices 2021-03-18 14:09:24 +08:00