On Wed, Jun 10, 2015 at 03:16:13PM +0300, Ivan Klymenko wrote:
> Wed, 10 Jun 2015 10:48:13 +0000 (UTC)
> Mateusz Guzik <m...@freebsd.org> написав:
> 
> > Author: mjg
> > Date: Wed Jun 10 10:48:12 2015
> > New Revision: 284215
> > URL: https://svnweb.freebsd.org/changeset/base/284215
> > 
> > Log:
> >   Implement lockless resource limits.
> >   
> >   Use the same scheme implemented to manage credentials.
> >   
> >   Code needing to look at process's credentials (as opposed to
> > thred's) is provided with *_proc variants of relevant functions.
> >   
> >   Places which possibly had to take the proc lock anyway still use
> > the proc pointer to access limits.
> > 
> /usr/src/sys/modules/linux64/../../amd64/linux/linux_machdep.c:254:16: error: 
> incompatible pointer types passing 'struct proc *' to parameter of type 
> 'struct thread *' [-Werror,-Wincompatible-pointer-types]
>                             lim_cur(p, RLIMIT_STACK);
>                                     ^
> /usr/src/sys/sys/resourcevar.h:133:32: note: passing argument to parameter 
> 'td' here
> rlim_t   lim_cur(struct thread *td, int which);
>                                 ^

Oops, thanks. Fixed in r284217.

-- 
Mateusz Guzik <mjguzik gmail.com>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to