Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 14:45:43 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_ioctl.c linux_mib.c linux_mib.h linux_misc.c
Message-ID:  <200303132245.h2DMjhrs002100@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2003/03/13 14:45:43 PST

  FreeBSD src repository

  Modified files:
    sys/compat/linprocfs linprocfs.c 
    sys/compat/linux     linux_ioctl.c linux_mib.c linux_mib.h 
                         linux_misc.c 
  Log:
  - Change the linux_[gs]et_os{name, release, s_version}() functions to
    take a thread instead of a proc for their first argument.
  - Add a mutex to protect the system-wide Linux osname, osrelease, and
    oss_version variables.
  - Change linux_get_prison() to take a thread instead of a proc for its
    first argument and to use td_ucred rather than p_ucred.  This is ok
    because a thread's prison does not change even though it's ucred might.
  - Also, change linux_get_prison() to return a struct prison * instead of
    a struct linux_prison * since it returns with the struct prison locked
    and this makes it easier to safely unlock the prison when we are done
    messing with it.
  
  Revision  Changes    Path
  1.62      +2 -2      src/sys/compat/linprocfs/linprocfs.c
  1.103     +1 -1      src/sys/compat/linux/linux_ioctl.c
  1.19      +98 -104   src/sys/compat/linux/linux_mib.c
  1.7       +6 -6      src/sys/compat/linux/linux_mib.h
  1.139     +2 -2      src/sys/compat/linux/linux_misc.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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