Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 16:26:04 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Peter Wemm <peter@wemm.org>
Cc:        Garrett Cooper <yanegomi@gmail.com>, Giovanni Trematerra <gianni@FreeBSD.org>, freebsd-arch@FreeBSD.org
Subject:   Re: deprecated TIOCSPGRP and TIOCGPGRP ioctl command
Message-ID:  <88ECC88C-1E3E-4FF1-A9AB-7105FF93ECBE@bsdimp.com>
In-Reply-To: <CAGE5yCr9Sn6asv0ya4MNE5VQ5GnLQyzZyOvkq-dqOmtpcXExQw@mail.gmail.com>
References:  <CACfq09210zdar=%2BM40gLoVtZnwLda88T1FJBbLXiy9e3t8-9NQ@mail.gmail.com> <CAGE5yCor9c%2Bb7hZaF8NLdxc2F8PPfi0kTZFLXY5nvA%2Bbm1Ytuw@mail.gmail.com> <D2F25708-5E0B-4270-83F0-79286C5A581A@gmail.com> <CAGE5yCqSfJuemRgT7agTsydbBAJSrnAbyyoP3h%2BJ-JJMd1OAMw@mail.gmail.com> <CACfq093r9%2BFjAM5cOTJy=_f8_73qw-0x5GrSt3VYRg=B03UfsA@mail.gmail.com> <CAGE5yCr9Sn6asv0ya4MNE5VQ5GnLQyzZyOvkq-dqOmtpcXExQw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 10, 2011, at 4:18 PM, Peter Wemm wrote:

> On Thu, Nov 10, 2011 at 3:06 PM, Giovanni Trematerra =
<gianni@freebsd.org> wrote:
>> Thank you Peter, just last question on this.
>> Having just one ioctl function for both pipe and fifo, would be a =
problem
>> having TIOCSPGRP and TIOCGPGRP implemented for fifo?
>=20
> If the code is common, I can't imagine a plausible scenario where it
> could cause a new problem.

Yea, at most I could imagine someone writing an autoconfig script or =
something that depends on this difference.  However, I doubt there's any =
autoconfig scripts that rely on being able to set them on a pipe, but =
not on a fifo that would break.

Oh, wait, that's assuming autoconf is sane, which may exceed the =
evidence on the record...

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88ECC88C-1E3E-4FF1-A9AB-7105FF93ECBE>