aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-10-16 15:31:44 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-10-17 23:24:19 +0200
commitcfec502b3d091ff7c24df6ccf8079470584315a0 (patch)
tree4489f6e2c561608c0a3d22c304be1515a2133740 /net/unix/sysctl_net_unix.c
parentsysfs: check visibility before changing group attribute ownership (diff)
downloadlinux-cfec502b3d091ff7c24df6ccf8079470584315a0.tar.gz
linux-cfec502b3d091ff7c24df6ccf8079470584315a0.zip
rust: device: fix device context of Device::parent()
Regardless of the DeviceContext of a device, we can't give any guarantees about the DeviceContext of its parent device. This is very subtle, since it's only caused by a simple typo, i.e. Self::from_raw(parent) which preserves the DeviceContext in this case, vs. Device::from_raw(parent) which discards the DeviceContext. (I should have noticed it doing the correct thing in auxiliary::Device subsequently, but somehow missed it.) Hence, fix both Device::parent() and auxiliary::Device::parent(). Cc: stable@vger.kernel.org Fixes: a4c9f71e3440 ("rust: device: implement Device::parent()") Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
td>commit: don't rewrite shared index unnecessarilyDavid Turner3-5/+15 2015-08-28git-submodule: remove extraneous space from error messageAlex Henrie1-1/+1 2015-08-28Git 2.5.1v2.5.1Junio C Hamano3-2/+19 2015-08-28Mingw: verify both ends of the pipe () callJose F. Morales1-1/+1 2015-08-28archive-zip: support more than 65535 entriesRené Scharfe2-4/+91 2015-08-28archive-zip: use a local variable to store the creator versionRené Scharfe1-2/+4 2015-08-28t5004: test ZIP archives with many entriesRené Scharfe1-0/+40 2015-08-26trailer: retitle a test and correct an in-comment messageChristian Couder2-2/+3 2015-08-25pull: pass upload_pack only when it was givenJunio C Hamano1-1/+1 2015-08-25generate-cmdlist: re-implement as shell scriptEric Sunshine3-52/+52 2015-08-25setup: update the right file in multiple checkoutsNguyễn Thái Ngọc Duy1-2/+2 2015-08-24rev-list: make it obvious that we do not support notesJeff King4-0/+9 2015-08-24config: silence warnings for command names with invalid keysJeff King5-12/+43 2015-08-21wt-status: move #include "pathspec.h" to the headerSZEDER Gábor2-1/+1 2015-08-21trailer: ignore first line of messageChristian Couder2-2/+16 2015-08-21Documentation/config: fix inconsistent label on gc.*.reflogExpireUnreachableAndreas Schwab1-1/+1 2015-08-20t3020: fix typo in test descriptionSZEDER Gábor1-1/+1 2015-08-20ps_matched: xcalloc() takes nmemb and then element sizeJunio C Hamano2-2/+2 2015-08-19Start preparing for 2.5.1Junio C Hamano2-1/+50 2015-08-17po/README: Update directions for l10n contributorsPhilip Oakley1-0/+19 2015-08-14config: close config file handle in case of errorSven Strickroth1-1/+4 2015-08-12git_open_noatime: return with errno=0 on successClemens Buchacher1-1/+4 2015-08-11t2019: skip test requiring '*' in a file name non WindowsJohannes Sixt1-1/+1 2015-08-11vreportf: avoid intermediate bufferJeff King1-3/+12 2015-08-11vreportf: report to arbitrary filehandlesJeff King3-29/+12 2015-08-10strbuf_read(): skip unnecessary strbuf_grow() at eofJim Hill1-5/+5 2015-08-10clone: use computed length in guess_dir_nameJeff King2-7/+8