summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/sockfs/socksubr.c
AgeCommit message (Collapse)AuthorFilesLines
2022-07-12 [illumos-gate merge]Dan McDonald1-9/+1
commit d5ba932774e3e5d63ba25284cae7bb0e8a0b5d1d 14808 removal of nca (14768) missed the headers commit df6bbf77738915d14e10da5a075ed017edd1f8be 14688 nvme blkdev attach/detach trips assertion in ndi_devi_unconfig_one() commit 20e6de55ab1d426790ba858431f38b11e499c967 14585 loader: should preserve order of console device list commit db6ea8e69c35f1dac85a7e12505787c1212108b2 14594 psrinfo(1M) may fail to emit socket type commit 15f90b02bdacbf0ae47fa105944f15b6596f9748 14768 retire nca commit 174513368dec739adb93c76e5d47aed84797d1ad 14739 smbtorture disconnect after bad credit grant commit 2126a14a5539b804448c27ae4eee033b7aacfa50 7524 setting msgid=0 in log.conf makes all messages seem to come from "unix" Conflicts: usr/src/uts/common/io/ksocket/ksocket.c usr/src/uts/intel/Makefile.intel
2022-07-1114768 retire ncaGarrett D'Amore1-9/+1
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-10-02 [illumos-gate merge]Jerry Jelinek1-2/+18
commit 221e47fb90c5fcfe7add9a33f6c915ee5253ece9 13175 Add support for IP_RECVTOS 13182 CMSG_ macros should have man pages
2020-10-0113175 Add support for IP_RECVTOSAndy Fiddaman1-2/+18
13182 CMSG_ macros should have man pages Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-06-22 [illumos-gate merge]Jerry Jelinek1-2/+41
commit c686756220120076a07be0dcce54be698101a3d1 12541 sgs: smatch and NULL pointer errors commit d865fc92e4b640c73c2957a20b3d82622c741be5 12824 recvmsg(): adjust final cmsg->cmsg_len upon MSG_CTRUNC commit ce5f7fb896fce369b4ec50da6d3a232bce2458ce 12836 loader: strings in nvlist are counted strings, not c-strings
2020-06-1912824 recvmsg(): adjust final cmsg->cmsg_len upon MSG_CTRUNCAndy Fiddaman1-2/+41
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-03-12 [illumos-gate merge]Jerry Jelinek1-0/+1
commit 8e9352593f28b1a84101b11e1c6db6aabf187a1c 5880 Increase IOV_MAX to at least 1024 commit f3e1a610966249cf3c18b6f431eef3fac2ed90e4 12279 ::arc_compression_stats generates errors commit 3c6ffbab91273559b511d95f850d7b2d9cd2a3c5 11958 need topo maps for the SMCI,SYS-2028U-E1CNRT+ 11959 extend disk topo plugin to enumerate nvme devices Conflicts: usr/src/uts/common/syscall/rw.c usr/src/uts/common/sys/socket.h
2020-03-125880 Increase IOV_MAX to at least 1024Bryan Cantrill1-1/+2
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-25 [illumos-gate merge]Tim Foster1-48/+52
commit 7284664a1faa361af4ff33ba5435d43d3ee07bf2 11816 iscsi initiator gets confused if attached before root file system mount commit 55908bd733fe029d49237b91c700655997242419 11843 update Intel microcode to 20190918 commit b9c9c3595312927fb362936529c5679117843b93 11826 Buffer overflow and memory leak in "libbsm" commit 78a2e113edb6fe0a0382b403b55d92e8f0bba78f 9531 Want netstat -u to show PIDs associated with sockets 11707 provide 64-bit libdhcpagent 11708 netstat should be smatch and CERRWARN clean Conflicts: usr/src/data/ucode/Makefile usr/src/data/ucode/README.ucode usr/src/data/ucode/intel/000206D6-01 usr/src/data/ucode/intel/000206D7-01 usr/src/data/ucode/intel/000306D4-40 usr/src/data/ucode/intel/000306F4-80 usr/src/data/ucode/intel/00040671-02 usr/src/data/ucode/intel/000406F1-01 usr/src/data/ucode/intel/00050654-01 usr/src/data/ucode/intel/00050657-01 usr/src/data/ucode/intel/00050662-10 usr/src/data/ucode/intel/00050663-10 usr/src/data/ucode/intel/00050664-10 usr/src/data/ucode/intel/00050665-10 usr/src/data/ucode/intel/000506CA-01
2019-10-249531 Want netstat -u to show PIDs associated with socketsAndy Fiddaman1-48/+52
11707 provide 64-bit libdhcpagent 11708 netstat should be smatch and CERRWARN clean Portions contributed by: Mohamed A. Khalfella <khalfella@gmail.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Dominik Hassler <hadfl@omniosce.org> Approved by: Garrett D'Amore <garrett@damore.org>
2017-05-17 [illumos-gate merge]Jerry Jelinek1-5/+9
commit 859dddab5a1a5373df6d162d36ae46a9f8560cd0 8186 rdist: misleading-indentation commit af5d3c333fe8ee0ce150deef13405e955d754933 8182 mac: misleading-indentation commit 30f1f754a88aa357235064d8c7ce78f2f546e0aa 8230 e1000api: misleading-indentation commit 94fe7a15aaf0a0ebb874aaff7b5d6499b79c099e 8213 uts: get smbios from bootloader commit c9d5afdc0f8c07fde3eb4c16c95f43e3b72b493a 8198 acct: misleading-indentation commit 518f6e4f50f2a38cdf2a69027ed68c13a855adca 8197 bnu: misleading-indentation commit e84991e7a6961ecb29c2a0dc65de15aba7e0a171 8071 zfs-tests: 7290 missed some cases commit 929d5b43a5225be8ab64d840e6a10803fb6acd0b 8125 kmem_move tunables must not be declared static commit 40713f2b249d289022c715107b3951055a63aef0 8070 Add some ZFS comments commit ab3407e42869db06198054a02d468636f7b48bdb 8076 zfs-tests suite fails rootpool_002_neg commit 481467d836803cbbbf22322ad3097db0cd868268 8077 zfs-tests suite fails zpool_get_002_pos commit f0e8a3d8e67418155c5316a52ebd6aacaf493b09 8072 zfs-tests: several test cases incorrectly spell TESTPOOL commit 7da74b7620d65183bc0949a426dc2cad658f19c3 8064 need a static DTrace probe in VN_HOLD (incorporate review feedback) commit f012ee0c3db17469b492c2cf757226f3d7b1ebbc 7590 sendmsg on AF_UNIX socket fails after process drops privileges commit f4a8ddfca5b163fcce5c470e59c5be2dad358d70 8231 xdr_admin(3nsl): Invalid return types in the man page Conflicts: usr/src/test/os-tests/tests/Makefile usr/src/test/os-tests/runfiles/default.run
2017-05-167590 sendmsg on AF_UNIX socket fails after process drops privilegesGordon Ross1-6/+10
Portions contributed by: Jeremy Allison <jra@samba.org> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-03-316827 cannot pass fd through unix domain dgram socket when receiver set ↵Jerry Jelinek1-1/+1
SO_RECVUCRED Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
2015-11-23OS-4936 cannot pass fd through unix domain dgram socket when receiver set ↵Jerry Jelinek1-1/+1
SO_RECVUCRED Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
2015-07-16OS-4517 lxbrand convert bind to IKEPatrick Mooney1-2/+4
OS-4505 lxbrand java fails to bind on ipv6 address Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
2015-01-27OS-3752 Increase IOV_MAX to at least 1024Jerry Jelinek1-1/+2
2010-06-17PSARC/2009/590 Socket Filter FrameworkAnders Persson1-2/+13
6939085 Socket Filter Framework 6802067 connect_failed kernel socket callback is not triggered 6776450 time spent in tcp_close could be reduced/deferred to a worker thread 6828586 assertion failed: family == 26, file: ../../common/fs/sockfs/socksyscalls.c, line: 1608 6802078 kernel socket 'newconn' callback is passing rcv queue size as an argument
2010-03-05PSARC/2009/354 Always on / no reboot Solaris AuditMarek Pospisil1-3/+2
6192139 Solaris auditing should be able to start collecting audit records without a reboot
2010-01-156638967 udp recv (think DNS) suffers from thundering herd problemAnders Persson1-12/+7
2010-01-124517853 debug.h should include macros to assert implication and equivalenceJonathan Adams1-5/+5
6915090 struct memlist should have ml_ member prefixes
2009-04-286813959 I/OAT should be removed from TCP and STREAMSAnders Persson1-4/+2
--HG-- rename : usr/src/uts/common/sys/sodirect.h => usr/src/uts/common/fs/sockfs/sodirect.h
2009-02-12PSARC 2007/670 db_credp updateErik Nordmark1-11/+27
6619593 Simplify and strengthen db_credp handling 6619596 Add getpeerucred() support to SCTP SOCK_STREAM
2008-12-11PSARC 2007/587 Volo -- Low Latency Socket FrameworkYu Xiangning1-577/+116
PSARC 2008/694 Volo Interfaces Amendment 6765829 Integration of project Volo PSARC/2007/587 6644935 mblk cred_t reference counting limits scalability 6693633 TCP receive does not scale because of heavy refcounting of cred structures 4764841 connect/accept is slow on Solaris when compared to Linux 5105708 socket creation retains hold on accessvp 4764836 setsockopt is slow on Solaris when compared to Linux 4772191 socket close(2) is slow on Solaris when compared to Linux --HG-- rename : usr/src/uts/common/fs/sockfs/socksctp.c => usr/src/uts/common/inet/sockmods/socksctp.c rename : usr/src/uts/common/fs/sockfs/socksctp.h => usr/src/uts/common/inet/sockmods/socksctp.h rename : usr/src/uts/common/fs/sockfs/socksctpsubr.c => usr/src/uts/common/inet/sockmods/socksctpsubr.c rename : usr/src/uts/common/fs/sockfs/socksdp.c => usr/src/uts/common/inet/sockmods/socksdp.c rename : usr/src/uts/common/fs/sockfs/socksdp.h => usr/src/uts/common/inet/sockmods/socksdp.h
2008-11-22PSARC 2008/427 iSCSI BootJack Meng1-2/+13
PSARC 2008/640 iSCSI With DHCP 6701045 iSCSI boot on x86 6713364 iscsi needs to support PSARC 2008/337 scsi-self-identifying 6422549 delay nl7c_init() call until after the root is mounted 6751246 dhcp release the lease before sync is committed on iSCSI disk 6763891 device name of the same lun is different by different discovery mode, non MPxIO 6768382 Add dependency on netowrk/physical in local-fs service
2008-08-26LSARC 2008/506 Unix Domain Sockets for X11 clients in Trusted ExtensionsRic Aleshire1-2/+11
6640014 Global zone servers should support labeled zone clients using UNIX domain sockets
2008-07-316698108 Sun Studio 12 finds many lint errors in ON source. (fix cstyle)rh871071-1/+2
2008-07-316698108 Sun Studio 12 finds many lint errors in ON source.rh871071-45/+47
2008-05-266554564 slab allocator cannot release slabs with lonely bufferstomee1-15/+12
6676406 kmem client constructors and destructors need some cleanup
2008-05-236582335 TCP/IP receive-side zero CPU copy for support of Intel I/OAT hardwarebrutus1-1/+24
6582330 sodirect - socket direct, for support of Intel I/OAT hardware 6582323 uioa - uio asynchronous, for support of Intel I/OAT hardware 6567008 driver for intel ioat v1 & v2 DMA engine needed 6691281 tcp->tcp_sodirect == 0, file: ../../common/inet/tcp/tcp_fusion .c, line: 291 6693127 putback for 6567008/6582323/6582330/6582335 causes PANIC when using SCTP sockets 6694188 Solaris PIT test net/tcp/tests/win0_urg_processing timed out 6694389 assertion failed: ((tcp)->tcp_sodirect == 0 || !((tcp)->tcp_sodirect->sod_state & 0x0001)) --HG-- rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/Makefile => usr/src/pkgdefs/SUNWdcopy/Makefile rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/pkginfo.tmpl => usr/src/pkgdefs/SUNWdcopy/pkginfo.tmpl rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/postinstall.tmpl => usr/src/pkgdefs/SUNWdcopy/postinstall.tmpl rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/preremove.tmpl => usr/src/pkgdefs/SUNWdcopy/preremove.tmpl rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/prototype_com => usr/src/pkgdefs/SUNWdcopy/prototype_com rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/prototype_i386 => usr/src/pkgdefs/SUNWdcopy/prototype_i386 rename : deleted_files/usr/src/uts/common/io/dcopy.c => usr/src/uts/common/io/dcopy.c rename : deleted_files/usr/src/uts/common/sys/dcopy.h => usr/src/uts/common/sys/dcopy.h rename : deleted_files/usr/src/uts/common/sys/dcopy_device.h => usr/src/uts/common/sys/dcopy_device.h rename : deleted_files/usr/src/uts/common/sys/sodirect.h => usr/src/uts/common/sys/sodirect.h rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat.c => usr/src/uts/i86pc/io/ioat/ioat.c rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat.conf => usr/src/uts/i86pc/io/ioat/ioat.conf rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat_chan.c => usr/src/uts/i86pc/io/ioat/ioat_chan.c rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat_ioctl.c => usr/src/uts/i86pc/io/ioat/ioat_ioctl.c rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat_rs.c => usr/src/uts/i86pc/io/ioat/ioat_rs.c rename : deleted_files/usr/src/uts/i86pc/ioat/Makefile => usr/src/uts/i86pc/ioat/Makefile rename : deleted_files/usr/src/uts/i86pc/sys/ioat.h => usr/src/uts/i86pc/sys/ioat.h rename : deleted_files/usr/src/uts/i86xpv/ioat/Makefile => usr/src/uts/i86xpv/ioat/Makefile rename : deleted_files/usr/src/uts/intel/dcopy/Makefile => usr/src/uts/intel/dcopy/Makefile
2008-04-25backout 6567008/6582323/6582330/6582335/6691271: needs more workdm1207691-24/+1
--HG-- rename : usr/src/pkgdefs/SUNWdcopy/Makefile => deleted_files/usr/src/pkgdefs/SUNWdcopy/Makefile rename : usr/src/pkgdefs/SUNWdcopy/pkginfo.tmpl => deleted_files/usr/src/pkgdefs/SUNWdcopy/pkginfo.tmpl rename : usr/src/pkgdefs/SUNWdcopy/postinstall.tmpl => deleted_files/usr/src/pkgdefs/SUNWdcopy/postinstall.tmpl rename : usr/src/pkgdefs/SUNWdcopy/preremove.tmpl => deleted_files/usr/src/pkgdefs/SUNWdcopy/preremove.tmpl rename : usr/src/pkgdefs/SUNWdcopy/prototype_com => deleted_files/usr/src/pkgdefs/SUNWdcopy/prototype_com rename : usr/src/pkgdefs/SUNWdcopy/prototype_i386 => deleted_files/usr/src/pkgdefs/SUNWdcopy/prototype_i386 rename : usr/src/uts/common/io/dcopy.c => deleted_files/usr/src/uts/common/io/dcopy.c rename : usr/src/uts/common/sys/dcopy.h => deleted_files/usr/src/uts/common/sys/dcopy.h rename : usr/src/uts/common/sys/dcopy_device.h => deleted_files/usr/src/uts/common/sys/dcopy_device.h rename : usr/src/uts/common/sys/sodirect.h => deleted_files/usr/src/uts/common/sys/sodirect.h rename : usr/src/uts/i86pc/io/ioat/ioat.c => deleted_files/usr/src/uts/i86pc/io/ioat/ioat.c rename : usr/src/uts/i86pc/io/ioat/ioat.conf => deleted_files/usr/src/uts/i86pc/io/ioat/ioat.conf rename : usr/src/uts/i86pc/io/ioat/ioat_chan.c => deleted_files/usr/src/uts/i86pc/io/ioat/ioat_chan.c rename : usr/src/uts/i86pc/io/ioat/ioat_ioctl.c => deleted_files/usr/src/uts/i86pc/io/ioat/ioat_ioctl.c rename : usr/src/uts/i86pc/io/ioat/ioat_rs.c => deleted_files/usr/src/uts/i86pc/io/ioat/ioat_rs.c rename : usr/src/uts/i86pc/ioat/Makefile => deleted_files/usr/src/uts/i86pc/ioat/Makefile rename : usr/src/uts/i86pc/sys/ioat.h => deleted_files/usr/src/uts/i86pc/sys/ioat.h rename : usr/src/uts/i86xpv/ioat/Makefile => deleted_files/usr/src/uts/i86xpv/ioat/Makefile rename : usr/src/uts/intel/dcopy/Makefile => deleted_files/usr/src/uts/intel/dcopy/Makefile
2008-04-186567008 driver for intel ioat v1 & v2 DMA engine neededbrutus1-1/+24
6582323 uioa - uio asynchronous, for support of Intel I/OAT hardware 6582330 sodirect - socket direct, for support of Intel I/OAT hardware 6582335 TCP/IP receive-side zero CPU copy for support of Intel I/OAT hardware
2007-12-271162981 Remove C2_AUDIT #defines from the kernel and build filesgww1-45/+41
2007-10-25PSARC/2007/218 caller_context_t in all VOPsamw1-1/+1
PSARC/2007/227 VFS Feature Registration and ACL on Create PSARC/2007/244 ZFS Case-insensitive support PSARC/2007/315 Extensible Attribute Interfaces PSARC/2007/394 ls(1) new command line options '-/' and '-%': CIFS system attributes support PSARC/2007/403 Modified Access Checks for CIFS PSARC/2007/410 Add system attribute support to chmod(1) PSARC/2007/432 CIFS system attributes support for cp(1), pack(1), unpack(1), compress(1) and uncompress(1) PSARC/2007/444 Rescind SETTABLE Attribute PSARC/2007/459 CIFS system attributes support for cpio(1), pax(1), tar(1) PSARC/2007/546 Update utilities to match CIFS system attributes changes. PSARC/2007/560 ZFS sharesmb property 4890717 want append-only files 6417428 Case-insensitive file system name lookup to support CIFS 6417435 DOS attributes and additional timestamps to support for CIFS 6417442 File system quarantined and modified attributes to support an integrated Anti-Virus service 6417453 FS boolean property for rejecting/allowing invalid UTF-8 sequences in file names 6473733 RFE: Need support for open-deny modes 6473755 RFE: Need ability to reconcile oplock and delegation conflicts 6494624 sharemgr needs to support CIFS shares better 6546705 All vnode operations need to pass caller_context_t 6546706 Need VOP_SETATTR/VOP_GETATTR to support new, optional attributes 6546893 Solaris system attribute support 6550962 ZFS ACL inheritance needs to be enhanced to support Automatic Inheritance 6553589 RFE: VFS Feature Registration facility 6553770 RFE: ZFS support for ACL-on-CREATE (PSARC 2007/227) 6565581 ls(1) should support file system attributes proposed in PSARC/2007/315 6566784 NTFS streams are not copied along with the files. 6576205 cp(1), pack(1) and compress(1) should support file system attributes proposed in PSARC/2007/315 6578875 RFE: kernel interfaces for nbmand need improvement 6578883 RFE: VOP_SHRLOCK needs additional access types 6578885 chmod(1) should support file system attributes proposed in PSARC/2007/315 6578886 RFE: disallow nbmand state to change on remount 6583349 ACL parser needs to support audit/alarm ACE types 6590347 tar(1) should support filesystem attributes proposed in PSARC/2007/315 6597357 *tar* xv@ doesn't show the hidden directory even though it is restored 6597360 *tar* should re-init xattr info if openat() fails during extraction of and extended attribute 6597368 *tar* cannot restore hard linked extended attributes 6597374 *tar* doesn't display "x " when hard linked attributes are restored 6597375 *tar* extended attribute header off by one 6614861 *cpio* incorrectly archives extended system attributes with -@ 6614896 *pax* incorrectly archives extended system attributes with -@ 6615225 *tar* incorrectly archives extended system attributes with -@ 6617183 CIFS Service - PSARC 2006/715
2007-03-26PSARC/2007/124 Strong Type-Checking for VFS Operation Registration Mechanismrsb1-0/+1
6505923 Need better type checking for vnodeops 6531594 lxpr_readlink() is missing the "cred_t *cr" arg 6532559 vfs_strayops does not use the vnode/vfs operation registration mechanism
2007-01-15PSARC 2003/064 SDP: Sockets Direct Protocolnh1450021-1/+7
5068505 Integration of PSARC 2003/064 SDP into solaris 6503394 TX introduced an incorrect assert: ASSERT(!connp->conn_mac_exempt);
2006-06-266440104 named thread spinning in process_cmsg due to bad byte countinggt1456701-8/+34
6440107 64-bit SO_TIMESTAMP kills system with alignment fault
2006-05-126246755 nl7c_data_pfail reports errorsbrutus1-1/+4
2006-03-23PSARC 2006/070 SO_TIMESTAMP Socket Optiongt1456701-0/+36
4843696 Solaris should support socket level timestamps
2006-03-054999225 Broken code in socktpi.crshoaib1-20/+10
6341860 sockfs warnings should be zone aware 6386372 remove unused AF_NCA code from sockfs --HG-- rename : usr/src/uts/common/fs/sockfs/ncafs.c => deleted_files/usr/src/uts/common/fs/sockfs/ncafs.c
2005-08-30PSARC/2005/478 Add desballoc() to the DDImeem1-17/+4
4084674 desballoc needs to be added to the DDI 6316274 fdbuf_allocmsg() should use esballoc_wait()
2005-08-236272618 gcc and sockfs don't get alongkrgopi1-2/+2
2005-06-14OpenSolaris Launchstevel@tonic-gate1-0/+2303