| /onnv/onnv-gate/usr/src/head/ |
| project.h | 39 #define PROJF_PATH "/etc/project" /* pathname of the "project" file */ 40 #define PROJNAME_MAX 64 /* maximum project name size */ 46 struct project { struct 47 char *pj_name; /* name of the project */ 48 projid_t pj_projid; /* numerical project id */ 49 char *pj_comment; /* project description */ 50 char **pj_users; /* vector of pointers to project user names */ 51 char **pj_groups; /* vector of pointers to project group names */ 52 char *pj_attr; /* project attributes string * [all...] |
| /onnv/onnv-gate/usr/src/cmd/oamuser/lib/ |
| vproj.c | 35 #include <project.h> 40 valid_projid(projid_t, struct project *, void *, size_t); 43 * validate a project name or number and return the appropriate 44 * project structure for it. 47 valid_project(char *project, struct project *pptr, void *buf, size_t len, 54 if (isdigit(*project)) { 55 projid = (projid_t)strtol(project, &ptr, (int)10); 59 for (ptr = project; *ptr != NULL; ptr++) { 65 return (valid_projname(project, pptr, buf, len, warning)) [all...] |
| vprojname.c | 37 #include <project.h> 40 * validate string given as project name. 43 valid_projname(char *project, struct project *pptr, void *buf, size_t blen, 46 struct project *t_pptr; 47 char *ptr = project; 53 if (!project || !*project) 69 if ((t_pptr = getprojbyname(project, pptr, buf, blen)) != NULL)
|
| vprojid.c | 32 #include <project.h> 38 /* validate a project id */ 40 valid_projid(projid_t projid, struct project *pptr, void *buf, size_t len) 42 struct project pbuf; 43 struct project *t_pptr;
|
| putprojent.c | 30 #include <project.h> 34 * putprojent() function to write a project structure to a file 37 putprojent(struct project *projstr, FILE *to)
|
| /onnv/onnv-gate/usr/src/lib/libproject/common/ |
| llib-lproject | 32 #include <project.h> 40 struct ps_prochandle *, struct project *);
|
| getprojent.c | 34 #include <project.h> 56 static int ismember(struct project *, const char *, gid_t, int); 82 struct project * 83 _getprojent(struct project *result, void *buffer, size_t buflen) 89 return ((struct project *)NSS_XbyY_FINI(&arg)); 92 struct project * 93 _fgetprojent(FILE *f, struct project *result, void *buffer, size_t buflen) 100 return ((struct project *)NSS_XbyY_FINI(&arg)); 103 struct project * 104 _getprojbyid(projid_t projid, struct project *result 380 struct project *project = ent; local [all...] |
| project_walk.c | 31 #include <project.h>
|
| /onnv/onnv-gate/usr/src/lib/libc/port/sys/ |
| tasksys.c | 38 #include <project.h> 41 settaskid(projid_t project, uint_t flags) 45 while ((newtaskid = syscall(SYS_tasksys, 0, project, flags, NULL, 0))
|
| /onnv/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/pod/ |
| Project.pod | 27 # Sun::Solaris::Project documentation. 32 Sun::Solaris::Project - Perl interface to Projects 36 use Sun::Solaris::Project qw(:ALL); 39 This module provides wrappers for the Project-related system calls and the 41 Project-related headers. 52 This function returns the numeric project ID of the calling process or C<undef> 55 B<C<setproject($project, $user, $flags)>> 57 If C<$user> is a member of the project specified by C<$project>, 59 controls with the process, task, and project. This function returns 0 o [all...] |
| /onnv/onnv-gate/usr/src/cmd/oamuser/inc/ |
| users.h | 36 #include <project.h> 82 extern int valid_project(char *, struct project *, void *buf, size_t, int *); 83 extern int valid_projname(char *, struct project *, void *buf, size_t, int *);
|
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| cpucaps_impl.h | 59 * Most of the per-project or per-zone state related to CPU caps is kept in the 64 struct kproject *cap_project; /* project for the cap */ 86 #define PROJECT_IS_CAPPED(project) \ 87 (((project)->kpj_cpucap != NULL) && \ 88 CAP_ENABLED((project)->kpj_cpucap))
|
| /onnv/onnv-gate/usr/src/cmd/rcap/rcapd/ |
| rcapd_collection_project.c | 29 #include <project.h> 41 lcollection_update_project_cb(const struct project *proj, void *walk_data) 65 warn(gettext("project %s: malformed %s value '%s'\n"), 76 update_notification_cb("project", proj->pj_name, changes, 86 struct project proj; 109 project_walk_all(int(*cb)(const struct project *, void *), void *walk_data) 112 struct project proj;
|
| /onnv/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/t/ |
| Project.t | 27 # test script for Sun::Solaris::Project 37 unlink("/tmp/project.$$.1"); 38 unlink("/tmp/project.$$.2"); 39 unlink("/tmp/project.$$.3"); 40 unlink("/tmp/project.$$.4"); 41 unlink("/tmp/project.$$.5"); 42 unlink("/tmp/project.$$.1.w"); 43 unlink("/tmp/project.$$.2.w"); 44 unlink("/tmp/project.$$.3.w"); 45 unlink("/tmp/project.$$.4.w") [all...] |
| /onnv/onnv-gate/usr/src/cmd/getent/ |
| dogetproject.c | 32 #include <project.h> 36 putprojent(const struct project *proj, FILE *fp) 79 struct project proj; 80 struct project *pproj;
|
| /onnv/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Task/ |
| Task.xs | 64 settaskid(project, flags) 65 projid_t project
|
| /onnv/onnv-gate/usr/src/cmd/newtask/ |
| newtask.c | 37 #include <project.h> 74 struct ps_prochandle *, struct project *); 82 static int set_ids(struct ps_prochandle *, struct project *, 85 static void setproject_err(char *, char *, int, struct project *); 90 (void) fprintf(stderr, gettext("usage: \n\t%s [-v] [-p project] " 149 /* Change project/task of an existing process */ 154 * Get user data, so that we can confirm project membership as 164 * under the current project, so we can just set the new taskid. 165 * If our project is changing, we need to update any attendant 330 struct project project local [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
| Project.xs | 25 * Project.xs contains XS wrappers for the project database maniplulation 33 #include <project.h> 45 * Convert and save a struct project on the perl XS return stack. 47 * the name of the project and in a list context it returns a 6-element list 52 pushret_project(const struct project *proj) 87 pwalk_cb(const projid_t project, void *walk_data) 94 PUSHs(sv_2mortal(newSViv(project))); 109 MODULE = Sun::Solaris::Project PACKAGE = Sun::Solaris::Project [all...] |
| /onnv/onnv-gate/usr/src/cmd/netfiles/ |
| nsswitch.ad | 74 project: files
|
| nsswitch.dns | 67 project: files
|
| /onnv/onnv-gate/usr/src/cmd/oamuser/user/ |
| val_lprj.c | 35 #include <project.h> 51 struct project projent; 63 errmsg(M_INVALID, ptr, "project id");
|
| proj.c | 32 #include <project.h> 46 struct project *p_ptr; 47 struct project p_work; 87 /* Make TMP file look like we want project file to look */ 104 modified = 0; /* bad project file: cannot rebuild */ 108 /* first delete the login from the project, if it's there */ 128 /* now check to see if project is one to add to */ 166 /* Now, update project file, if it was modified */
|
| /onnv/onnv-gate/usr/src/lib/libproc/common/ |
| pr_tasksys.c | 36 #include <project.h> 132 pr_settaskid(struct ps_prochandle *Pr, projid_t project, int flags) 140 return (settaskid(project, flags)); 150 adp->arg_value = project; 154 adp->arg_size = sizeof (project);
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/ |
| man.t | 75 gcc - GNU project C and C++ compiler 82 gcc \- GNU project C and C++ compiler
|
| /onnv/onnv-gate/usr/src/lib/nsswitch/nis/common/ |
| getprojent.c | 29 #include <project.h> 36 return (_nss_nis_lookup(be, argp, 0, "project.byname", 45 return (_nss_nis_lookup(be, argp, 0, "project.byprojid", projstr, 0)); 64 "project.byname"));
|