FreeBSD/sys/kern/kern_mib.c
/*
 * The osrelease string is copied from the global (osrelease in vers.c) into
 * prison0 by a sysinit and is inherited by child jails if not changed at jail
 * creation, so we always return the copy from the current prison data.
 */
The osrelease string is copied from the global (osrelease in vers.c) into
prison0 by a sysinit and is inherited by child jails if not changed at jail
creation, so we always return the copy from the current prison data.
The osrelease string is copied from the global ( osrelease in vers . c ) into prison0 by a sysinit and is inherited by child jails if not changed at jail creation so we always return the copy from the current prison data .
static int
sysctl_osrelease(SYSCTL_HANDLER_ARGS)
{
	struct prison *pr;
	pr = req->td->td_ucred->cr_prison;
	return (SYSCTL_OUT(req, pr->pr_osrelease, strlen(pr->pr_osrelease) + 1));
}
static int sysctl_osrelease ( SYSCTL_HANDLER_ARGS ) { struct prison * pr ; pr = req -> td -> td_ucred -> cr_prison ; return ( SYSCTL_OUT ( req , pr -> pr_osrelease , strlen ( pr -> pr_osrelease ) + 1 ) ) ; }
The osrelease string is copied from the global (osrelease in vers.c) into
 prison0 by a sysinit and is inherited by child jails if not changed at jail
 creation, so we always return the copy from the current prison data.
The osrelease string is copied from the global ( osrelease in vers . c ) into prison0 by a sysinit and is inherited by child jails if not changed at jail creation so we always return the copy from the current prison data .