From owner-freebsd-emulation@freebsd.org Thu Sep 15 08:41:20 2016 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E499BDC760 for ; Thu, 15 Sep 2016 08:41:20 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mailrelay8.public.one.com (mailrelay8.public.one.com [91.198.169.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1331A1398 for ; Thu, 15 Sep 2016 08:41:19 +0000 (UTC) (envelope-from erik@cederstrand.dk) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cederstrand.dk; s=20140924; h=from:subject:date:message-id:to:mime-version:content-type; bh=4AXbwaXwOor6uyn9yX9RlUPgCKuCVIqGKgU25KKSCro=; b=tbjEwrcuXgi2ikc21b+JEgTaVcDDqsbKf4oEfuxY/eMFHjz7rzprEj+3Ye5wLyH+9M9pcgBXUpXpX otYMI3ol2vKGqg4QX+kBFANzq9r5oxksKhxWXk4cHslDcV0NTVtBDwfdQmOTgZWhWOOEioQBcM329O 1ujobBOrbE+1/Clw= X-HalOne-Cookie: 12a333ee552ca38b6afa6c3afdd1baf00427b401 X-HalOne-ID: 00c2c3b0-7b20-11e6-846b-b82a72cffc46 Received: from [10.0.1.3] (unknown [217.157.7.215]) by smtpfilter4.public.one.com (Halon Mail Gateway) with ESMTPSA for ; Thu, 15 Sep 2016 08:40:06 +0000 (UTC) From: Erik Cederstrand X-Pgp-Agent: GPGMail Content-Type: multipart/signed; boundary="Apple-Mail=_649EBD2E-3720-40E4-9D13-95FE3347229D"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: ioctl Date: Thu, 15 Sep 2016 10:40:06 +0200 Message-Id: <1B155F49-2C87-49A0-B08A-17849C86CC48@cederstrand.dk> To: freebsd-emulation@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 08:41:20 -0000 --Apple-Mail=_649EBD2E-3720-40E4-9D13-95FE3347229D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi folks, I managed to get a 64-bit Oracle instantclient running under 64-bit = Linux so I can connect to an Oracle database using the Oracle client = "sqlplus". Now, whenever I run sqlplus, I get this message in /var/log/messages: kernel: linux: pid 92000 (sqlplus): ioctl fd=3D3, cmd=3D0x1268 = ('',104) is not implemented 0x1268 is BLKSSZGET according to linux_ioctl.h. The message is harmless as sqlplus seems to be working correctly, but I = would like to get rid of it and learn new things along the way. I think the message comes from this code: = https://github.com/freebsd/freebsd/blob/master/sys/compat/linux/linux_ioct= l.c#L3606 Apparently, the Linux compat code does not implement the ioctl() system = call at all. Is this a deliberate choice? I have no idea how this code = works, or the security implications of changing it, but it seems like a = minor change to forward linux_ioctl_args to FreeBSD ioctl()? Erik --Apple-Mail=_649EBD2E-3720-40E4-9D13-95FE3347229D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJX2l5mAAoJEFWwJk18WUOGzcAQAI51AtYmIXnD8WDFJF2qXuxq XdrhHrfvsoiR46TSNHHTfEq7ce1NXUjhY0H/KTz4m1B/aj8i1kboneN1/ptB4EzX 8fUJh+8VBp2W8Rn9FrAuHtalHNhLpxvmut6g+G7II8bIFyOW2T2j8rs8j/h7ACzU DusZFCGRo5jhQPtG9Tgzlntl284bQq6Vt5xrMK40VA2bStgYtl31gOOR4gf+Eves Dy7F4KnpQxOE3FnG3Ef7/EPQLh6hty/keIy5hsKDKyj+wx/M5QsDJZIGejp2/D72 AP4v4uGDE0AtgmNmbxtj0Vgs99rhFHGVT2yQJYTlstHhMfWAysmZKpjKS4PQ5B7+ j6xX06rUxT4o1f519aVCw6TQZkX3SR8vK7u2m546ZDVi8ixSM/23LOsNU95lQEKy cxfHKT7dND+uTmqYGNpt7A1AAE3nhKxldknHReXFyW/K1idcuoFA+/OUaZ6BRkgw fNqiolF8vX46ThPuEd5uXmwZOM1aeiFzYEvGo66gM/8HUk6w7AYsY++UThtvv02l of+6aojCZLN5i5GA9IjndHhrT0YhL12koTuFMKQNihwue6c6edRtoZWd5Ryf+xT+ lnIBqZ9AF+sclWLg10mwl9/J77ZrokzMgsRZwEtjNwN0Yz/Amu73nb0TicNq582s cwvSVE52pi9ciNRWXd14 =nZ/D -----END PGP SIGNATURE----- --Apple-Mail=_649EBD2E-3720-40E4-9D13-95FE3347229D--