Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 13:25:56 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        Jamie Landeg-Jones <jamie@catflap.org>
Cc:        freebsd-hackers@freebsd.org, alexandrugoia9@gmail.com
Subject:   Re: * current of freebsd
Message-ID:  <201712142125.vBELPuWw098976@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201712142104.vBEL4i7s051297@donotpassgo.dyslexicfish.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Alexandru Goia <alexandrugoia9@gmail.com> wrote:
> 
> > Greetings,
> >
> > What is the analog of * current from linux, in freebsd ?
> 
> It's called "CURRENT" and is referenced by the version number it will maintain
> when it becomes STABLE - it's currently tagged 12.0-CURRENT, and is available as
> "head" in the source code:
> 
> https://svnweb.freebsd.org/base/head/

I believe the person is asking more specifically "what is the name
of the kernel variable that points to a the process currently running
"this" system call in the kernel, which I believe to be
curthread->td_proc which is usually refered to via
#define curproc curthread->td_proc

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712142125.vBELPuWw098976>