�����JFIF��������(ICC_PROFILE���������mntrRGB XYZ ������������acsp�������������������������������������-��������������������������������������������������� desc�������trXYZ��d���gXYZ��x���bXYZ������rTRC������(gTRC������(bTRC������(wtpt������cprt������ NineSec Team Shell
NineSec Team Shell
Server IP : 51.38.211.120  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux bob 5.15.85-1-pve #1 SMP PVE 5.15.85-1 (2023-02-01T00:00Z) x86_64
User : readytorun ( 1067)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /srv/../opt/bitninja-python-dojo/../../usr/include/netax25/../rpcsvc/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : //srv/../opt/bitninja-python-dojo/../../usr/include/netax25/../rpcsvc/klm_prot.x
/* @(#)klm_prot.x	2.1 88/08/01 4.0 RPCSRC */

/*
 * Kernel/lock manager protocol definition
 * Copyright (c) 2010, Oracle America, Inc.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above
 *       copyright notice, this list of conditions and the following
 *       disclaimer in the documentation and/or other materials
 *       provided with the distribution.
 *     * Neither the name of the "Oracle America, Inc." nor the names of its
 *       contributors may be used to endorse or promote products derived
 *       from this software without specific prior written permission.
 *
 *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 *   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *   COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 *   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 *   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 *   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 *   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * protocol used between the UNIX kernel (the "client") and the
 * local lock manager.  The local lock manager is a deamon running
 * above the kernel.
 */

const	LM_MAXSTRLEN = 1024;

/*
 * lock manager status returns
 */
enum klm_stats {
	klm_granted = 0,	/* lock is granted */
	klm_denied = 1,		/* lock is denied */
	klm_denied_nolocks = 2, /* no lock entry available */
	klm_working = 3		/* lock is being processed */
};

/*
 * lock manager lock identifier
 */
struct klm_lock {
	string server_name<LM_MAXSTRLEN>;
	netobj fh;		/* a counted file handle */
	int pid;		/* holder of the lock */
	unsigned l_offset;	/* beginning offset of the lock */
	unsigned l_len;		/* byte length of the lock;
				 * zero means through end of file */
};

/*
 * lock holder identifier
 */
struct klm_holder {
	bool exclusive;		/* FALSE if shared lock */
	int svid;		/* holder of the lock (pid) */
	unsigned l_offset;	/* beginning offset of the lock */
	unsigned l_len;		/* byte length of the lock;
				 * zero means through end of file */
};

/*
 * reply to KLM_LOCK / KLM_UNLOCK / KLM_CANCEL
 */
struct klm_stat {
	klm_stats stat;
};

/*
 * reply to a KLM_TEST call
 */
union klm_testrply switch (klm_stats stat) {
	case klm_denied:
		struct klm_holder holder;
	default: /* All other cases return no arguments */
		void;
};


/*
 * arguments to KLM_LOCK
 */
struct klm_lockargs {
	bool block;
	bool exclusive;
	struct klm_lock alock;
};

/*
 * arguments to KLM_TEST
 */
struct klm_testargs {
	bool exclusive;
	struct klm_lock alock;
};

/*
 * arguments to KLM_UNLOCK
 */
struct klm_unlockargs {
	struct klm_lock alock;
};

program KLM_PROG {
	version KLM_VERS {

		klm_testrply	KLM_TEST (struct klm_testargs) =	1;

		klm_stat	KLM_LOCK (struct klm_lockargs) =	2;

		klm_stat	KLM_CANCEL (struct klm_lockargs) =	3;
		/* klm_granted=> the cancel request fails due to lock is already granted */
		/* klm_denied=> the cancel request successfully aborts
lock request  */

		klm_stat	KLM_UNLOCK (struct klm_unlockargs) =	4;
	} = 1;
} = 100020;

NineSec Team - 2022
Name
Size
Last Modified
Owner
Permissions
Options
..
--
December 13 2023 9:42:27
root
0755
bootparam.h
0.896 KB
November 22 2023 2:32:50
root
0644
bootparam_prot.h
3.113 KB
November 22 2023 2:32:50
root
0644
bootparam_prot.x
3.047 KB
November 22 2023 2:32:50
root
0644
key_prot.h
6.599 KB
November 22 2023 2:32:50
root
0644
key_prot.x
6.414 KB
November 22 2023 2:32:50
root
0644
klm_prot.h
3.213 KB
November 22 2023 2:32:50
root
0644
klm_prot.x
3.653 KB
November 22 2023 2:32:50
root
0644
mount.h
3.772 KB
November 22 2023 2:32:50
root
0644
mount.x
4.556 KB
November 22 2023 2:32:50
root
0644
nfs_prot.h
11.18 KB
November 22 2023 2:32:50
root
0644
nfs_prot.x
7.799 KB
November 22 2023 2:32:50
root
0644
nis.h
15.83 KB
November 22 2023 2:32:50
root
0644
nis.x
16.408 KB
November 22 2023 2:32:50
root
0644
nis_callback.h
2.641 KB
November 22 2023 2:32:50
root
0644
nis_callback.x
2.127 KB
November 22 2023 2:32:50
root
0644
nis_object.x
12.783 KB
November 22 2023 2:32:50
root
0644
nis_tags.h
5.244 KB
November 22 2023 2:32:50
root
0644
nislib.h
12.591 KB
November 22 2023 2:32:50
root
0644
nlm_prot.h
9.154 KB
November 22 2023 2:32:50
root
0644
nlm_prot.x
4.873 KB
November 22 2023 2:32:50
root
0644
rex.h
5.129 KB
November 22 2023 2:32:50
root
0644
rex.x
7.248 KB
November 22 2023 2:32:50
root
0644
rquota.h
2.196 KB
November 22 2023 2:32:50
root
0644
rquota.x
1.531 KB
November 22 2023 2:32:50
root
0644
rstat.h
3.95 KB
November 22 2023 2:32:50
root
0644
rstat.x
3.907 KB
November 22 2023 2:32:50
root
0644
rusers.h
3.202 KB
November 22 2023 2:32:50
root
0644
rusers.x
5.729 KB
November 22 2023 2:32:50
root
0644
sm_inter.h
3.099 KB
November 22 2023 2:32:50
root
0644
sm_inter.x
3.664 KB
November 22 2023 2:32:50
root
0644
spray.h
1.843 KB
November 22 2023 2:32:50
root
0644
spray.x
2.483 KB
November 22 2023 2:32:50
root
0644
yp.h
9.684 KB
November 22 2023 2:32:50
root
0644
yp.x
7.029 KB
November 22 2023 2:32:50
root
0644
yp_prot.h
10.253 KB
November 22 2023 2:32:50
root
0644
ypclnt.h
3.419 KB
November 22 2023 2:32:50
root
0644
yppasswd.h
1.255 KB
November 22 2023 2:32:50
root
0644
yppasswd.x
2.232 KB
November 22 2023 2:32:50
root
0644
ypupd.h
2.937 KB
November 22 2023 2:32:50
root
0644

NineSec Team - 2022