Changeset b783f05 in rtems-libbsd


Ignore:
Timestamp:
Apr 5, 2012, 5:06:30 PM (7 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
7730088
Parents:
aa34b6b
Message:

Added prison_check_af and jailed methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/src/rtems-bsd-jail.c

    raa34b6b rb783f05  
    295295  return 0;
    296296}
     297
     298/*
     299 * Check if a jail supports the given address family.
     300 *
     301 * Returns 0 if not jailed or the address family is supported, EAFNOSUPPORT
     302 * if not.
     303 */
     304int
     305prison_check_af(struct ucred *cred, int af)
     306{
     307  return 0;
     308}
     309
     310/*
     311 * Return 1 if the passed credential is in a jail, otherwise 0.
     312 */
     313int
     314jailed(struct ucred *cred)
     315{
     316  return 0;
     317}
Note: See TracChangeset for help on using the changeset viewer.