Print this page
re #11201 nss: need local netgroup implementation

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/getent/getent.c
          +++ new/usr/src/cmd/getent/getent.c
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44          { "shadow",     dogetsp },
  45   45          { "group",      dogetgr },
  46   46          { "hosts",      dogethost },
  47   47          { "ipnodes",    dogetipnodes },
  48   48          { "services",   dogetserv },
  49   49          { "protocols",  dogetproto },
  50   50          { "ethers",     dogetethers },
  51   51          { "networks",   dogetnet },
  52   52          { "netmasks",   dogetnetmask },
  53   53          { "project",    dogetproject },
       54 +        { "netgroup",   dogetnetgr },
  54   55          { NULL,         NULL }
  55   56  };
  56   57  
  57   58  static  void usage(void) __NORETURN;
  58   59  
  59   60  int
  60   61  main(int argc, const char **argv)
  61   62  {
  62   63          struct table *p;
  63   64  
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX