NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/56286: current kernel crashes trying to load radeon firmware
The following reply was made to PR kern/56286; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/56286: current kernel crashes trying to load radeon firmware
Date: Wed, 30 Jun 2021 18:12:24 +0000
From: "David A. Holland" <dholland%netbsd.org@localhost>
To: source-changes%NetBSD.org@localhost
Subject: CVS commit: src/sys/kern
Date: Wed, 30 Jun 2021 17:51:49 +0000
Mail-Followup-To: source-changes-d%NetBSD.org@localhost
Module Name: src
Committed By: dholland
Date: Wed Jun 30 17:51:49 UTC 2021
Modified Files:
src/sys/kern: vfs_vnops.c
Log Message:
Improve Christos's vn_open fix.
- assert about api misuse up front (suggested by riastradh)
- restore the behavior of returning EOPNOTSUPP if ret_fd is NULL and we
get a fd back (otherwise things like ktruss -o /dev/stderr panic)
- clear error to 0 for the EDUPFD and EMOVEFD cases so opening a
cloner succeeds
To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 src/sys/kern/vfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index