/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* SMB: process_exit
*
* This command informs the server that a client process has terminated.
* The server must close all files opened by Pid in the SMB header. This
* must automatically release all locks the process holds.
*
* Client Request Description
* ================================== =================================
*
* UCHAR WordCount; Count of parameter words = 0
* USHORT ByteCount; Count of data bytes = 0
*
* Server Response Description
* ================================== =================================
*
* UCHAR WordCount; Count of parameter words = 0
* USHORT ByteCount; Count of data bytes = 0
*
* This SMB should not generate any errors from the server, unless the
* server is a user mode server and Uid in the SMB header is invalid.
*
* Clients are not required to send this SMB, they can do all cleanup
* necessary by sending close SMBs to the server to release resources. In
* fact, clients who have negotiated LANMAN 1.0 and later probably do not
* send this message at all.
*/
#include <smbsrv/smb_kproto.h>
{
return (SDRC_SUCCESS);
}
void
{
}
{
int rc;
}
/*
* If request has a valid tree ID, only look for the PID within
* that tree. Otherwise look in all the trees. smbtorture seems
* to be the only thing that sends this request these days and
* it doesn't provide a TID.
*/
else
}