-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does any distro ship the suid_exec
program?
#366
Comments
@krader1961. Just because it is not on an distribution you use, does not mean that people are not using it. In the AT&T days, many people used download the binaries (or the sources) for their distribution directly from AT&T rather than use a package built by the distribution package maintainers. |
@fpmurphy, I fail to see the relevance of your comment with respect to my question. No doubt there are people using the commands in src/cmd/builtin, such as On the other hand there might be a non SVR4 distro that includes the |
Before the meson conversion, Gentoo Linux only installed the |
In OpenBSD 6.2, the package
This I believe that suid_exec can't run suid/sgid scripts in OpenBSD. The problem is that suid_exec passes /dev/fd/10 to an issetugid shell, but in OpenBSD, an issetugid program may not open any fd(4) device. The kernel can run suid/sgid #! scripts because it allows the interpreter to open the /dev/fd/* containing the script; this allowance isn't documented. suid_exec might still work with systems other than OpenBSD. |
As noted by @krader1961, @floppym and @kernigh, none of the newer operating systems ship this binary. I don't think there is any reason to continue to build it. I am closing this issue. If any one has objection to this decision, please provide us a compelling reason. |
The suid_exec program has not been included by any distro as far as I can tell in a very long time. Certainly predating the ksh93u+ release that is the basis of all ksh implementations as I write this. So jetison that dead weight. Resolves #366
At this time we don't build the
suid_exec
program (src/cmd/ksh93/sh/suid_exec.c). It is built by the legacy build system. That program is not on any of the distros I use or have setup for testing changes to this project. Including, macOS, OpenSuse, FreeBSD, and Ubuntu. Should we add it to the Meson config or remove that source module?The text was updated successfully, but these errors were encountered: