Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/include/idn/../secdb.h
Real path: /usr/include/secdb.h
Zurück
/* * Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved. */ #ifndef _SECDB_H #define _SECDB_H #ifdef __cplusplus extern "C" { #endif #include <sys/types.h> #include <ucred.h> #define DEFAULT_POLICY "solaris" #define SUSER_POLICY "suser" /* fallback: old policy */ #define KV_ACTION "act" #define KV_COMMAND "cmd" #define KV_JAVA_CLASS "java_class" #define KV_JAVA_METHOD "java_method" #define KV_ASSIGN "=" #define KV_DELIMITER ";" #define KV_EMPTY "" #define KV_ESCAPE '\\' #define KV_ADD_KEYS 16 /* number of key value pairs to realloc */ #define KV_SPECIAL "=;:" #define KV_TOKEN_DELIMIT ":" #define KV_WILDCARD "*" #define KV_WILDCHAR '*' #define KV_ACTION_WILDCARD "*;*;*;*;*" #define KV_SEPCHAR ',' #define KV_SEPSTR "," #define KV_OBJECTCHAR '/' #define KV_OBJECT "/" #define KV_AUDIT_DELIMIT ":" #define KV_FLAG_NONE 0x0000 #define KV_FLAG_REQUIRED 0x0001 /* * return status macros for all attribute databases */ #define ATTR_FOUND 0 /* Authoritative found */ #define ATTR_NOT_FOUND -1 /* Authoritative not found */ #define ATTR_NO_RECOVERY -2 /* Non-recoverable errors */ typedef struct kv_s { char *key; char *value; } kv_t; /* A key-value pair */ typedef struct kva_s { int length; /* array length */ kv_t *data; /* array of key value pairs */ } kva_t; /* Key-value array */ extern char *kva_match(kva_t *, char *); extern int _auth_match(const char *, const char *); extern int _insert2kva(kva_t *, char *, char *); extern int _kva2str(kva_t *, char *, int, const char *, const char *); extern int _kva2strx(kva_t *, char *, int, const char *, const char *, const char *); extern kva_t *_kva_dup(kva_t *); extern void _kva_free(kva_t *); extern void _kva_free_value(kva_t *, char *); extern kva_t *_new_kva(int __size); extern kva_t *_str2kva(char *, char *, char *); extern int _enum_auths(const char *, int (*)(const char *, void *, void *), void *__ctxt, void *__pres); extern int _enum_auths_ucred(const char *, int (*)(const char *, void *, void *), void *__ctxt, void *__pres, const ucred_t *__ucred); extern int _enum_profs(const char *, int (*)(const char *, kva_t *, void *, void *), void *__ctxt, void *__pres, boolean_t __aprof); extern int _enum_attrs(const char *, int (*)(const char *, kva_t *, void *, void *), void *__ctxt, void *__pres); extern char *_strtok_escape(char *, const char *, char **); extern char *_strpbrk_escape(const char *, const char *); extern char *_escape(const char *, const char *); extern char *_unescape(const char *, const char *); extern char *_do_unescape(char *); extern char *_strdup_null(const char *); extern int _readbufline(char *, int, char *, int, int *); #ifdef __cplusplus } #endif #endif /* _SECDB_H */