Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 845664 Details for
Bug 888880
mail-mta/nullmailer-2.2-r2: setgid bit not set on /usr/sbin/nullmailer-queue
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
brief program to simulate how nullmailer-queue opens adminaddr file
readfile.c (text/x-csrc), 456 bytes, created by
Michael Yagliyan
on 2022-12-29 17:28:04 UTC
(
hide
)
Description:
brief program to simulate how nullmailer-queue opens adminaddr file
Filename:
MIME Type:
Creator:
Michael Yagliyan
Created:
2022-12-29 17:28:04 UTC
Size:
456 bytes
patch
obsolete
>#include <errno.h> >#include <fcntl.h> >#include <stdio.h> >#include <string.h> >#include <unistd.h> > >int main(int ac, char ** av) >{ > printf("UID = %d, EUID = %d\n" > "GID = %d, EGID = %d\n", > getuid(), > geteuid(), > getgid(), > getegid()); > int rc = openat(AT_FDCWD, "/etc/nullmailer/adminaddr", O_RDONLY); > printf("openat returned %d, errno is %d (%s)\n", rc, errno, strerror(errno)); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 888880
: 845664