NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/58438 (Compatibility issues with per-user-temp [described security(7) man page])



The following reply was made to PR kern/58438; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: "David H. Gutteridge" <gutteridge%netbsd.org@localhost>
Subject: Re: kern/58438 (Compatibility issues with per-user-temp [described
 security(7) man page])
Date: Fri, 1 Nov 2024 00:49:06 +0000 (UTC)

 On Sun, 27 Oct 2024, David H. Gutteridge via gnats wrote:
 
 > I guess I find it a bit concerning that this feature was added which (1)
 > doesn't work with some basic use cases and (2) doesn't document this
 > limitation. #2 is easy enough to remedy.
 >
 
 Since userspace needs to see the @magic tokens (as we've seen), and realpath(3)
 seems to the cause of all this, I think we should just fix it to expand those
 tokens when magic-symlinks are active. That should take care of 1)--even though
 this means duplicating the expansion already being done in the kernel.
 
 Shouldn't be hard. I'll do it--but, prolly only next week.
 
 Thx,
 
 -RVP
 


Home | Main Index | Thread Index | Old Index