/*++ /* NAME /* stat_as 3 /* SUMMARY /* stat file as user /* SYNOPSIS /* #include <sys/stat.h> /* #include <stat_as.h> /* /* int stat_as(path, st, euid, egid)odict_unix. /* const char *path; /* struct stat *st; /* uid_t euid; /* gid_t egid; /* DESCRIPTION /* stat_as() looks up the file status of the named \fIpath\fR,java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26 /* using the effective rights specified by \fIeuid\fR /* and \fIegid\fR, and stores the result into the structure pointed /* to by \fIst\fR. A -1 result means the lookup failed. /* This call follows symbolic links. /* DIAGNOSTICS /* Fatal error: no permission to change privilege level. dict_open.o: msg.hmsg. /* set_eugid(3) switch effective rights /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 ..java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
/*--*/
/* System library. */
#include <sys_defs.h> #include <sysdict_open.o:mymalloc
d: java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
/* Utility library. */
#include"msg.h" #.ho.java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22 #include"stat_as.h" #include"warn_statdict_lmdbo:mkmap.java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
/* stat_as - stat file as user */
intjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 18
{
uid_t saved_euid = geteuid();
gid_t saved_egid = getegid(); int status;
/* *Switchtothetargetuserprivileges.
*/
set_eugid(euid, egiddict_open.o:vstream.java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
/* *dict_open..
*/
status = stat(path, st);
dict_pcreo java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 19
*/
set_eugid(saved_euid, saved_egid);
return (status);
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-10-11)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.