.\" -*- coding: UTF-8 -*- .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" Historical remark, aeb, 2004-06-05 .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH GETUID 2 "6. März 2019" Linux Linux\-Programmierhandbuch .SH BEZEICHNUNG getuid, geteuid \- abfragen der Benutzerindentität .SH ÜBERSICHT \fB#include \fP .br \fB#include \fP .PP \fBuid_t getuid(void);\fP .br \fBuid_t geteuid(void);\fP .SH BESCHREIBUNG \fBgetuid\fP gibt die reale Benutzerkennung des aufrufenden Prozesses zurück. .PP \fBgeteuid\fP gibt die effektive Benutzerkennung des aufrufenden Prozesses zurück. .SH FEHLER Diese Funktionen sind immer erfolgreich. .SH "KONFORM ZU" POSIX.1\-2001, POSIX.1\-2008, 4.3BSD. .SH ANMERKUNGEN .SS Geschichte In UNIX\ V6 gab der Aufruf \fBgetuid\fP() \fI(euid << 8) + uid\fP zurück. UNIX\ V7 führte die getrennten Aufrufe \fBgetuid\fP() und \fBgeteuid\fP() ein. .PP Die Original\-Linux\-Systemaufrufe \fBgetuid\fP() und \fBgeteuid\fP() unterstützten nur 16\-Bit\-Benutzerkennungen. Nachfolgend fügte Linux 2.4 \fBgetuid32\fP() und \fBgeteuid32\fP() hinzu, die 32\-Bit\-Kennungen unterstützten. Die Glibc\-Wrapper\-Funktionen \fBgetuid\fP() und \fBgeteuid\fP() stellen die Änderungen transparent über Kernel\-Versionen hinweg bereit. .PP Unter Alpha wird statt eines Paars von \fBgetuid\fP()\- und \fBgeteuid\fP()\-Systemaufrufen ein einzelner Systemaufruf \fBgetxuid\fP() bereitgestellt, der ein Paar von realen und effektiven UIDs bereitstellt. Die Glibc\-Wrapper\-Funktionen \fBgetuid\fP() und \fBgeteuid\fP() gehen damit transparent um. Siehe \fBsyscall\fP(2) für Details im Hinblick auf Registerabbildungen. .SH "SIEHE AUCH" \fBgetresuid\fP(2), \fBsetreuid\fP(2), \fBsetuid\fP(2), \fBcredentials\fP(7) .SH KOLOPHON Diese Seite ist Teil der Veröffentlichung 5.10 des Projekts Linux\-\fIman\-pages\fP. Eine Beschreibung des Projekts, Informationen, wie Fehler gemeldet werden können sowie die aktuelle Version dieser Seite finden sich unter \%https://www.kernel.org/doc/man\-pages/. .SH ÜBERSETZUNG Die deutsche Übersetzung dieser Handbuchseite wurde von Stefan Janke , Chris Leick , Mario Blättermann und Helge Kreutzmann erstellt. Diese Übersetzung ist Freie Dokumentation; lesen Sie die .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen. Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an die .MT debian-l10n-german@\:lists.\:debian.\:org Mailingliste der Übersetzer .ME .