On Thu, Nov 12, 2020 at 04:03:28PM +0000, Ian Collier wrote:
> On Thu, Nov 12, 2020 at 09:22:45AM -0600, Derek Martin wrote:
> > One point that is not clear to me is, the sigaction manpage explicitly
> > calls out execve, rather than the whole exec family.  It seems to
> > suggest that execvp (which is what mutt is using to spawn the sendmail
> > process) doesn't do that.  It could be a case of the man page being
> > incorrectly overly specific, or just out of date... 
> 
> sigaction and execve are system calls in section 2 of the manual,
> whereas execvp et al are in section 3 and are library functions - in
> fact the man page says in the first paragraph that they are front-ends
> for execve(2).

I knew that... once. ;-)  I'm getting old, and most of the time these
esoteric details don't matter, so they're easy to forget if you
haven't bumped your head on them recently.

That explains it.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: signature.asc
Description: PGP signature

Reply via email to