patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 919f4123ff6615651010e9ae2314131186e0e77b 473 bytes (raw)
name: pkgs/skaware-packages/0001-mdevd-don-t-chmod-device-nodes-for-lines.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 
SPDX-FileCopyrightText: 2025 Alyssa Ross <hi@alyssa.is>
SPDX-License-Identifier: ISC

diff --git a/src/mdevd/mdevd.c b/src/mdevd/mdevd.c
index 3040ba6..aecd5a7 100644
--- a/src/mdevd/mdevd.c
+++ b/src/mdevd/mdevd.c
@@ -643 +643 @@ static inline int run_scriptelem (struct uevent_s const *event, scriptelem const
-  if (nodelen && ud->action == ACTION_ADD && ud->mmaj >= 0)
+  if (elem->movetype != MOVEINFO_NOCREATE && nodelen && ud->action == ACTION_ADD && ud->mmaj >= 0)

debug log:

solving 919f412 ...
found 919f412 in https://inbox.spectrum-os.org/spectrum-devel/20260626185509.3715326-4-colby@colbyt.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/fe5ebc4b6b171af5955cc4c2f256a1006cd79885.1782409229.git.colby@colbyt.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260626185509.3715326-4-colby@colbyt.com/
diff --git a/pkgs/skaware-packages/0001-mdevd-don-t-chmod-device-nodes-for-lines.patch b/pkgs/skaware-packages/0001-mdevd-don-t-chmod-device-nodes-for-lines.patch
new file mode 100644
index 0000000..919f412

Checking patch pkgs/skaware-packages/0001-mdevd-don-t-chmod-device-nodes-for-lines.patch...
Applied patch pkgs/skaware-packages/0001-mdevd-don-t-chmod-device-nodes-for-lines.patch cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/fe5ebc4b6b171af5955cc4c2f256a1006cd79885.1782409229.git.colby@colbyt.com/ for 919f412
index at:
100644 919f4123ff6615651010e9ae2314131186e0e77b	pkgs/skaware-packages/0001-mdevd-don-t-chmod-device-nodes-for-lines.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).