forked from pool/systemd
Accepting request 155790 from home:rmilasan:branches:Base:System
- udev: usb_id: parse only 'size' bytes of the 'descriptors' buffer add: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch - udev: expose new ISO9660 properties from libblkid add: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch - udev: usb_id: parse only 'size' bytes of the 'descriptors' buffer add: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch - udev: expose new ISO9660 properties from libblkid add: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch OBS-URL: https://build.opensuse.org/request/show/155790 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=351
This commit is contained in:
parent
2a5651c0c0
commit
00fe0b8efb
@ -0,0 +1,24 @@
|
|||||||
|
From 7962afbba9016ea03d9f2987fee341443fcde39d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kay Sievers <kay@vrfy.org>
|
||||||
|
Date: Sun, 17 Feb 2013 21:16:56 +0100
|
||||||
|
Subject: [PATCH] udev: usb_id: parse only 'size' bytes of the 'descriptors'
|
||||||
|
buffer
|
||||||
|
|
||||||
|
Signed-off-by: Robert Milasan <rmilasan@suse.com>
|
||||||
|
---
|
||||||
|
src/udev/udev-builtin-usb_id.c | 2 +-
|
||||||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
Index: systemd-195/src/udev/udev-builtin-usb_id.c
|
||||||
|
===================================================================
|
||||||
|
--- systemd-195.orig/src/udev/udev-builtin-usb_id.c
|
||||||
|
+++ systemd-195/src/udev/udev-builtin-usb_id.c
|
||||||
|
@@ -210,7 +210,7 @@ static int dev_if_packed_info(struct ude
|
||||||
|
pos = 0;
|
||||||
|
strpos = 0;
|
||||||
|
ifs_str[0] = '\0';
|
||||||
|
- while (pos < sizeof(buf) && strpos+7 < len-2) {
|
||||||
|
+ while (pos < size && strpos+7 < len-2) {
|
||||||
|
struct usb_interface_descriptor *desc;
|
||||||
|
char if_str[8];
|
||||||
|
|
37
1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
Normal file
37
1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
From ddb5bee15a6ad71e5b596c035c1ee4dc04d5fd2e Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Zeeshan Ali (Khattak)" <zeeshanak@gnome.org>
|
||||||
|
Date: Sun, 17 Feb 2013 03:21:27 +0200
|
||||||
|
Subject: [PATCH] udev: expose new ISO9660 properties from libblkid
|
||||||
|
|
||||||
|
Signed-off-by: Robert Milasan <rmilasan@suse.com>
|
||||||
|
---
|
||||||
|
src/udev/udev-builtin-blkid.c | 16 ++++++++++++++++
|
||||||
|
1 files changed, 16 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
|
Index: systemd-195/src/udev/udev-builtin-blkid.c
|
||||||
|
===================================================================
|
||||||
|
--- systemd-195.orig/src/udev/udev-builtin-blkid.c
|
||||||
|
+++ systemd-195/src/udev/udev-builtin-blkid.c
|
||||||
|
@@ -78,6 +78,22 @@ static void print_property(struct udev_d
|
||||||
|
} else if (startswith(name, "PART_ENTRY_")) {
|
||||||
|
util_strscpyl(s, sizeof(s), "ID_", name, NULL);
|
||||||
|
udev_builtin_add_property(dev, test, s, value);
|
||||||
|
+
|
||||||
|
+ } else if (streq(name, "SYSTEM_ID")) {
|
||||||
|
+ blkid_encode_string(value, s, sizeof(s));
|
||||||
|
+ udev_builtin_add_property(dev, test, "ID_FS_SYSTEM_ID", s);
|
||||||
|
+
|
||||||
|
+ } else if (streq(name, "PUBLISHER_ID")) {
|
||||||
|
+ blkid_encode_string(value, s, sizeof(s));
|
||||||
|
+ udev_builtin_add_property(dev, test, "ID_FS_PUBLISHER_ID", s);
|
||||||
|
+
|
||||||
|
+ } else if (streq(name, "APPLICATION_ID")) {
|
||||||
|
+ blkid_encode_string(value, s, sizeof(s));
|
||||||
|
+ udev_builtin_add_property(dev, test, "ID_FS_APPLICATION_ID", s);
|
||||||
|
+
|
||||||
|
+ } else if (streq(name, "BOOT_SYSTEM_ID")) {
|
||||||
|
+ blkid_encode_string(value, s, sizeof(s));
|
||||||
|
+ udev_builtin_add_property(dev, test, "ID_FS_BOOT_SYSTEM_ID", s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 19 09:51:18 UTC 2013 - rmilasan@suse.com
|
||||||
|
|
||||||
|
- udev: usb_id: parse only 'size' bytes of the 'descriptors' buffer
|
||||||
|
add: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch
|
||||||
|
- udev: expose new ISO9660 properties from libblkid
|
||||||
|
add: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 18 09:27:05 UTC 2013 - jengelh@inai.de
|
Mon Feb 18 09:27:05 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -322,6 +322,10 @@ Patch1021: 1021-create-default-links-for-primary-cd_dvd-drive.patch
|
|||||||
Patch1022: 1022-udev-use-unique-names-for-temporary-files-created-in.patch
|
Patch1022: 1022-udev-use-unique-names-for-temporary-files-created-in.patch
|
||||||
# PATCH-FIX-UPSTREAM 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
# PATCH-FIX-UPSTREAM 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
||||||
Patch1023: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
Patch1023: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
||||||
|
# PATCH-FIX-UPSTREAM 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch
|
||||||
|
Patch1024: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch
|
||||||
|
# PATCH-FIX-UPSTREAM 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
|
||||||
|
Patch1025: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Systemd is a system and service manager, compatible with SysV and LSB
|
Systemd is a system and service manager, compatible with SysV and LSB
|
||||||
@ -505,6 +509,8 @@ cp %{SOURCE7} m4/
|
|||||||
%patch1021 -p1
|
%patch1021 -p1
|
||||||
%patch1022 -p1
|
%patch1022 -p1
|
||||||
%patch1023 -p1
|
%patch1023 -p1
|
||||||
|
%patch1024 -p1
|
||||||
|
%patch1025 -p1
|
||||||
|
|
||||||
#systemd
|
#systemd
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 19 09:51:18 UTC 2013 - rmilasan@suse.com
|
||||||
|
|
||||||
|
- udev: usb_id: parse only 'size' bytes of the 'descriptors' buffer
|
||||||
|
add: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch
|
||||||
|
- udev: expose new ISO9660 properties from libblkid
|
||||||
|
add: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 18 09:27:05 UTC 2013 - jengelh@inai.de
|
Mon Feb 18 09:27:05 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -317,6 +317,10 @@ Patch1021: 1021-create-default-links-for-primary-cd_dvd-drive.patch
|
|||||||
Patch1022: 1022-udev-use-unique-names-for-temporary-files-created-in.patch
|
Patch1022: 1022-udev-use-unique-names-for-temporary-files-created-in.patch
|
||||||
# PATCH-FIX-UPSTREAM 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
# PATCH-FIX-UPSTREAM 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
||||||
Patch1023: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
Patch1023: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
|
||||||
|
# PATCH-FIX-UPSTREAM 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch
|
||||||
|
Patch1024: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch
|
||||||
|
# PATCH-FIX-UPSTREAM 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
|
||||||
|
Patch1025: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Systemd is a system and service manager, compatible with SysV and LSB
|
Systemd is a system and service manager, compatible with SysV and LSB
|
||||||
@ -500,6 +504,8 @@ cp %{SOURCE7} m4/
|
|||||||
%patch1021 -p1
|
%patch1021 -p1
|
||||||
%patch1022 -p1
|
%patch1022 -p1
|
||||||
%patch1023 -p1
|
%patch1023 -p1
|
||||||
|
%patch1024 -p1
|
||||||
|
%patch1025 -p1
|
||||||
|
|
||||||
#systemd
|
#systemd
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user