Displaying 3 results from an estimated 3 matches for "cr_ref".
Did you mean:
  cur_ref
  
2015 Sep 27
2
v2.2.19 release candidate released
Timo,
I have to test something on one of the BSD, namely related to src/lib/net.c .
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Time for Stephen to move on on Oct 19 2015!!
2015 Sep 27
0
v2.2.19 release candidate released
On Sun, Sep 27, 2015 at 12:40:40PM -0600, The Doctor wrote:
> Timo,
> 
> I have to test something on one of the BSD, namely related to src/lib/net.c .
>
FYI  make sys/ucred.h   reads 
#ifndef _SYS_UCRED_H_
#define _SYS_UCRED_H_
/*
 * Credentials.
 */
struct ucred {
        u_int   cr_ref;                 /* reference count */
        uid_t   cr_uid;                 /* effective user id */
        short   cr_ngroups;             /* number of groups */
        gid_t   cr_groups[NGROUPS];     /* groups */
};
#define cr_gid cr_groups[0]
#define NOCRED NULL                     /* no cre...
2003 Jun 11
1
nfs panic with umount -f
...{lock_data = 0}, vpi_selinfo = {si_pid = 0, si_note = {
        slh_first = 0x0}, si_flags = 0}, vpi_events = 0, vpi_revents = 0},
  v_vxproc = 0x0}
(kgdb) p nfsstats.rpccnt
$1 = {0, 1, 69, 2755, 1372, 2, 210, 57, 37, 0, 1, 0, 21, 0, 28, 4, 33, 0, 72,
  1, 0, 38, 0, 0, 0, 0}
(kgdb) p *cred
$10 = {cr_ref = 1, cr_uid = 1001, cr_ngroups = 2, cr_groups = {100, 100,
    0 <repeats 14 times>}, cr_uidinfo = 0xc2411440}
Martin
Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 2...