diff options
author | jfieber <jfieber@FreeBSD.org> | 1998-09-30 01:42:53 +0000 |
---|---|---|
committer | jfieber <jfieber@FreeBSD.org> | 1998-09-30 01:42:53 +0000 |
commit | cd83b591406e3409645ac9947f7132e2b35a9446 (patch) | |
tree | a62ed3c64aaa8d40f72e66a4bcd47b1a8da10ecb /sys/compat | |
parent | a66a5d3d3ab296c2be09257306422b565f4756b1 (diff) | |
download | FreeBSD-src-cd83b591406e3409645ac9947f7132e2b35a9446.zip FreeBSD-src-cd83b591406e3409645ac9947f7132e2b35a9446.tar.gz |
Add several missing ioctl handlers. One needed by Sybase, the others
found while looking for the one.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index e1cd612..26bb5ab 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_ioctl.c,v 1.27 1998/08/31 10:51:19 jkh Exp $ + * $Id: linux_ioctl.c,v 1.28 1998/08/31 10:53:33 jkh Exp $ */ #include <sys/param.h> @@ -628,6 +628,26 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args) args->cmd = SIOCDELMULTI; return ioctl(p, (struct ioctl_args *)args); + case LINUX_FIOSETOWN: + args->cmd = FIOSETOWN; + return ioctl(p, (struct ioctl_args *)args); + + case LINUX_SIOCSPGRP: + args->cmd = SIOCSPGRP; + return ioctl(p, (struct ioctl_args *)args); + + case LINUX_FIOGETOWN: + args->cmd = FIOGETOWN; + return ioctl(p, (struct ioctl_args *)args); + + case LINUX_SIOCGPGRP: + args->cmd = SIOCGPGRP; + return ioctl(p, (struct ioctl_args *)args); + + case LINUX_SIOCATMARK: + args->cmd = SIOCATMARK; + return ioctl(p, (struct ioctl_args *)args); + case LINUX_TIOCSETD: switch (args->arg) { case LINUX_N_TTY: |