Date: Wed, 27 Feb 2002 10:43:32 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Robert Drehmel <robert@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/linux linux_misc.c Message-ID: <Pine.NEB.3.96L.1020227104100.46847A-100000@fledge.watson.org> In-Reply-To: <200202271506.g1RF6Y755216@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This change is not thread-safe in SMPng. Please take a look at linux_mib.c and kern_mib.c and adapt this functionality to make proper use of the jail synchronization primitives (pr->pr_mtx, et al). Right now, this is subject to races. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Wed, 27 Feb 2002, Robert Drehmel wrote: > robert 2002/02/27 07:06:33 PST > > Modified files: > sys/compat/linux linux_misc.c > Log: > Use the getcredhostname function to fill the hostname into > the linux_newuname_args structure. This should fix the case > of jailed linux processes not using the jail's hostname. > > PR: 35336 > Reviewed by: phk > > Revision Changes Path > 1.113 +3 -1 src/sys/compat/linux/linux_misc.c > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020227104100.46847A-100000>