�����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/mount.x
/* @(#)mount.x	2.1 88/08/01 4.0 RPCSRC */

/*
 * 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 description for the mount program
 */


const MNTPATHLEN = 1024;	/* maximum bytes in a pathname argument */
const MNTNAMLEN = 255;		/* maximum bytes in a name argument */
const FHSIZE = 32;		/* size in bytes of a file handle */

/*
 * The fhandle is the file handle that the server passes to the client.
 * All file operations are done using the file handles to refer to a file
 * or a directory. The file handle can contain whatever information the
 * server needs to distinguish an individual file.
 */
typedef opaque fhandle[FHSIZE];

/*
 * If a status of zero is returned, the call completed successfully, and
 * a file handle for the directory follows. A non-zero status indicates
 * some sort of error. The status corresponds with UNIX error numbers.
 */
union fhstatus switch (unsigned fhs_status) {
case 0:
	fhandle fhs_fhandle;
default:
	void;
};

/*
 * The type dirpath is the pathname of a directory
 */
typedef string dirpath<MNTPATHLEN>;

/*
 * The type name is used for arbitrary names (hostnames, groupnames)
 */
typedef string name<MNTNAMLEN>;

/*
 * A list of who has what mounted
 */
typedef struct mountbody *mountlist;
struct mountbody {
	name ml_hostname;
	dirpath ml_directory;
	mountlist ml_next;
};

/*
 * A list of netgroups
 */
typedef struct groupnode *groups;
struct groupnode {
	name gr_name;
	groups gr_next;
};

/*
 * A list of what is exported and to whom
 */
typedef struct exportnode *exports;
struct exportnode {
	dirpath ex_dir;
	groups ex_groups;
	exports ex_next;
};

program MOUNTPROG {
	/*
	 * Version one of the mount protocol communicates with version two
	 * of the NFS protocol. The only connecting point is the fhandle
	 * structure, which is the same for both protocols.
	 */
	version MOUNTVERS {
		/*
		 * Does no work. It is made available in all RPC services
		 * to allow server response testing and timing
		 */
		void
		MOUNTPROC_NULL(void) = 0;

		/*
		 * If fhs_status is 0, then fhs_fhandle contains the
		 * file handle for the directory. This file handle may
		 * be used in the NFS protocol. This procedure also adds
		 * a new entry to the mount list for this client mounting
		 * the directory.
		 * Unix authentication required.
		 */
		fhstatus
		MOUNTPROC_MNT(dirpath) = 1;

		/*
		 * Returns the list of remotely mounted filesystems. The
		 * mountlist contains one entry for each hostname and
		 * directory pair.
		 */
		mountlist
		MOUNTPROC_DUMP(void) = 2;

		/*
		 * Removes the mount list entry for the directory
		 * Unix authentication required.
		 */
		void
		MOUNTPROC_UMNT(dirpath) = 3;

		/*
		 * Removes all of the mount list entries for this client
		 * Unix authentication required.
		 */
		void
		MOUNTPROC_UMNTALL(void) = 4;

		/*
		 * Returns a list of all the exported filesystems, and which
		 * machines are allowed to import it.
		 */
		exports
		MOUNTPROC_EXPORT(void)  = 5;

		/*
		 * Identical to MOUNTPROC_EXPORT above
		 */
		exports
		MOUNTPROC_EXPORTALL(void) = 6;
	} = 1;
} = 100005;

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