Commit Graph

10911 Commits

Author SHA1 Message Date
Boian Bonev
dce2732c37
Fix warnings 2022-04-06 06:55:28 +03:00
Boian Bonev
db3e14bc61
Add the missing xsltproc deps 2022-04-06 05:37:52 +03:00
Boian Bonev
eb4911d8c5
Add note to udev.conf that changes to that file require a rebuild of the initramfs
Based on debian/patches/udev_conf_comments from the old udev package.

systemd-commit: f6de1b02fe703f57cceb59922fde17385e7c4510
Author: Michael Biebl <biebl@debian.org>
Date:   Thu Jul 18 15:33:51 2013 +0200
2022-04-06 04:17:59 +03:00
Boian Bonev
985b9c0768
Fix spelling 2022-04-06 03:47:47 +03:00
Boian Bonev
d27c310316
Fix spelling 2022-04-06 03:47:40 +03:00
Boian Bonev
84af6532cd
Fix spelling 2022-04-06 03:47:31 +03:00
Boian Bonev
a250f6488e
Fix spelling 2022-04-06 03:47:20 +03:00
Boian Bonev
94d06a2f55
Fix spelling 2022-04-06 03:47:09 +03:00
Boian Bonev
28bf0bf7fc
Fix spelling 2022-04-06 03:46:57 +03:00
Boian Bonev
c23157fed2
Fix spelling 2022-04-06 03:39:43 +03:00
Ariadne Conill
931c8e91fd
Merge pull request #218 from dermotbradley/add-ptp-hyperv-rule
rules/50-udev-default.rules: add PTP entry for Hyper-V/Azure
2022-03-15 11:00:51 -05:00
Dermot Bradley
4e9b7892da rules/50-udev-default.rules: add PTP entry for Hyper-V/Azure
udev rules: add rule to create /dev/ptp_hyperv

As for the KVM case, necessary for network cards with
PTP devices when running a guest on HyperV

systemd-commit: 32e868f058da8b90add00b2958c516241c532b70
Author: Luca Boccassi <luca.boccassi@microsoft.com>
Date:   Fri Feb 26 10:25:31 2021 +0000
2022-03-13 19:37:05 +00:00
Boian Bonev
0a4dae19c1
Ignore configure~ 2021-12-14 21:57:01 +02:00
Boian Bonev
acbbfa8a94
Prefer usage of mallinfo2 over mallinfo 2021-12-14 21:56:06 +02:00
Boian Bonev
f8cf40cbc5
Prepare a release of 3.2.11 2021-12-14 21:43:36 +02:00
Boian Bonev
e9355a18ba
Avoid an abbreviation 2021-12-14 21:23:25 +02:00
Boian Bonev
de8fff3af4
Merge pull request #216 from Low-power/getrandom-powerpc
Add getrandom(2) system call number for PowerPC
2021-12-07 19:13:28 +02:00
WHR
d96876b09a Add getrandom(2) system call number for PowerPC 2021-12-07 14:15:43 +08:00
Boian Bonev
62575c66ea
Merge branch 'master' of github.com:eudev-project/eudev 2021-12-02 03:45:38 +02:00
Boian Bonev
639074e15b
Prepare a pre-release of 3.2.11-pre2 2021-12-02 03:45:02 +02:00
Boian Bonev
a6582ea35b
Merge pull request #215 from ArsenArsen/master
hwdb: sync with systemd/main
2021-12-02 03:20:15 +02:00
Arsen Arsenović
9b08e717b9
hwdb: sync with systemd/main 2021-12-01 21:21:46 +01:00
wwuck
c9517391af Update to latest Devuan stable
Devuan stable is now chimaera
2021-11-05 10:52:11 +00:00
Boian Bonev
02a3813f94
Ignore release tarball signature 2021-11-05 06:14:04 +02:00
Boian Bonev
1b10140b9f
Prepare a pre-release of 3.2.11-pre1 2021-11-05 05:04:31 +02:00
Boian Bonev
76cac07815
Fix style and wording
- unify email address formatting
- remove the email us as a group sentence
- convert Gentoo testing statement into past tense
2021-11-05 05:01:53 +02:00
Boian Bonev
24bbbf7e1e
Merge pull request #212 from eudev-project/fix/issue-191-devt_hash_ops
hashmap: don't initialize devt_hash_ops in the header
2021-11-05 04:01:26 +02:00
Ariadne Conill
cd4cf17a70 hashmap: don't initialize devt_hash_ops in the header
It is initialized in hashmap.c:338, and should not be initialized
in the header.

Fixes: #191
Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
2021-11-04 19:53:17 -06:00
Boian Bonev
8675866cfc
Merge pull request #211 from eudev-project/chore/update-contributing
update CONTRIBUTING to reflect updated governance, clarify systemd commit hash requirements
2021-11-05 03:44:50 +02:00
Ariadne Conill
47128a75a4 update CONTRIBUTING to reflect updated governance, clarify systemd commit hash requirements
Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
2021-11-04 19:41:02 -06:00
Boian Bonev
21c91be0c2
Merge pull request #210 from bbonev/selwrn
Silence deprecation warnings
2021-10-16 23:18:33 +03:00
Boian Bonev
1c41383bf1
Merge pull request #209 from bbonev/bitwise
sparse: avoid clash with __bitwise and __force from 4.10 linux/types.…
2021-10-16 23:18:20 +03:00
Boian Bonev
ffca0bbd31
Merge pull request #204 from bbonev/s1mtd
sync src/mtd_probe/*.[ch]
2021-10-16 23:17:28 +03:00
Boian Bonev
221549a301
Merge pull request #203 from bbonev/s1scsi
sync src/scsi_id/scsi_id.c
2021-10-16 23:16:18 +03:00
Boian Bonev
9375a4eb0b
Merge pull request #202 from bbonev/s1v4l
sync src/v4l_id/v4l_id.c
2021-10-16 23:14:25 +03:00
Boian Bonev
e25d94ec72
Merge pull request #201 from bbonev/s1ata
sync src/ata_id/ata_id.c
2021-10-16 23:14:11 +03:00
Boian Bonev
53c37bfb90
Silence deprecation warnings
With newer SELinux security_context_t is deprecated.
Also get rid of noop typecasts.
2021-10-10 07:47:04 +03:00
Boian Bonev
c1967b3406
Merge branch 'master' of github.com:eudev-project/eudev 2021-10-10 04:20:03 +03:00
Boian Bonev
06ac38e2b8
README.md: state changes in the project 2021-10-10 04:18:14 +03:00
Boian Bonev
ca859c85fa
Merge pull request #208 from slicer69/double-quote
Permit eudev to work with rules which include escaped double-quotes
2021-10-10 03:52:27 +03:00
Boian Bonev
1e007fb1ee
sparse: avoid clash with __bitwise and __force from 4.10 linux/types.h (#5061)
It also used __bitwise and __force. It seems easier to rename
our versions since they are local to this one single header.

Also, undefine them afteerwards, so that we don't pollute the
preprocessor macro namespace.

systemd-commit: dc66f33a16596c2886a24da12e56ec096214e124
Author: Lubomir Rintel <lkundrak@v3.sk>
Date:   Wed Jan 11 10:50:25 2017 +0100
2021-10-10 03:48:51 +03:00
Boian Bonev
d7f91539ea
mtd: some basic code cleanups
While looking at our exit() invocations I noticed that the mtd_probe
stuff uses 'exit(-1)' at various places, which is not really a good
idea, as exit codes of processes on Linux are supposed to be in the
range of 0…255.

This patch cleans that up a bit, and fixes a number of other things:

1. Let's always let main() exit, nothing intermediary. We generally
   don't like code that invokes exit() on its own.

2. Close the file descriptors opened.

3. Some logging for errors is added, mostly on debug level.

Please review this with extra care. As I don't have the right hardware
to test this patch I only did superficial testing.

systemd-commit: 41b9d436b2739cbe8bf9482b665d85d59d06bc0e
Author: Lennart Poettering <lennart@poettering.net>
Date:   Tue Apr 24 17:50:01 2018 +0200
2021-10-10 03:47:55 +03:00
Boian Bonev
3871924512
Fix whitespace and other non-semantic changes 2021-10-10 03:46:52 +03:00
Boian Bonev
d527ee593c
udev/scsi_id: fix incorrect page length when get device identification VPD page
The length of device identification VPD page is filled with two bytes,
but scsi_id only gets the low byte. Fix it.

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>

systemd-commit: 1f7b6872dbe8ccae1f3bda9aa6aeb87c9b42e01e
Author: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
Date:   Mon May 13 18:41:55 2019 +0800
2021-10-10 03:46:47 +03:00
Boian Bonev
21b7edeffc
scsi_id: Fixup prefix for pre-SPC inquiry reply
The prefix for EMC Symmetrix pre-SPC VPD inquiry reply
is always SCSI_ID_NAA, so we need to hardcode it to
avoid false values here.

Signed-off-by: Hannes Reinecke <hare@suse.com>

systemd-commit: c0373eb019db70017878ee64d042de902e4c98ee
Author: Hannes Reinecke <hare@suse.de>
Date:   Wed Sep 13 09:08:28 2017 +0200
2021-10-10 03:46:39 +03:00
Boian Bonev
9da0df4417
scsi_serial: replace some crazy strncpy() calls by strnlen()
gcc was warning about strncpy() leaving an unterminated string.
In this case, it was correct.

The code was doing strncpy()+strncat()+strlen() essentially to determine
if the strings have expected length. If the length was correct, a buffer
overread was performed (or at least some garbage bytes were used from the
uninitialized part of the buffer). Let's do the length check first and then
only copy stuff if everything agrees.

For some reason the function was called "prepend", when it obviously does
an "append".

systemd-commit: 099c77fd5ff835614dea8dc11c57f6d44f77d9ee
Author: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date:   Tue May 7 15:58:29 2019 +0200
2021-10-10 03:46:30 +03:00
Boian Bonev
8c9571be6a
Fix whitespace and other non-semantic changes 2021-10-10 03:46:25 +03:00
Boian Bonev
acbd248f14
udev/scsi: use the scsi device type number directly
Previously, the value is once stringified, and later again parsed,
that is completely redundant.

Follow-up for 1001167ca5e4cfdc6230562e4fb9029e5f624d53.

Replaces #20013.

systemd-commit: 4dce1b9f059733ed9a263fba7cfa12704e96794a
Author: Yu Watanabe <watanabe.yu+github@gmail.com>
Date:   Fri Jun 25 15:04:12 2021 +0900
2021-10-10 03:46:08 +03:00
Boian Bonev
73080ea4f0
Fix whitespace and other non-semantic changes 2021-10-10 03:45:02 +03:00
Boian Bonev
dd850edec3
scsi_id: add missing options to getopt_long() (#6501)
systemd-commit: ebc6f34a0b2359ac0da41037a1122d3abe02caee
Author: Jan Synacek <jan.synacek@gmail.com>
Date:   Wed Aug 2 10:12:33 2017 +0200
2021-10-10 03:44:26 +03:00