[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: * current of freebsd
From:       "Rodney W. Grimes" <freebsd-rwg () pdx ! rh ! CN85 ! dnsmgr ! net>
Date:       2017-12-14 21:25:56
Message-ID: 201712142125.vBELPuWw098976 () pdx ! rh ! CN85 ! dnsmgr ! net
[Download RAW message or body]

> 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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic