Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #122
Difficulty: Easy
Linux has been certified as UNIX (2019).
True or False?
Linux & Unix Commands - Search Man Pages

ucall(2) [bsd man page]

UCALL(2)							System Calls Manual							  UCALL(2)

NAME
ucall - call a kernel subroutine from user mode (2BSD) SYNOPSIS
#include <pdp/psl.h> #include <sys/types.h> ucall(priority, function, arg0, arg1) int priority, arg0, arg1; caddr_t function; DESCRIPTION
Ucall causes the processor priority to be set to priority and the specified kernel function to be called with arguments arg0 and arg1. Priority is one of PSL_BR0, ..., PSL_BR7. Processor priority is reset to PSL_BR0 when function returns. Ucall is allowed only if the user is the superuser. It is obviously extremely dangerous if misused. It's only current use is at system boot time to configure system devices by calling device drivers ... ERRORS
[EPERM] The caller is not the super-user. SEE ALSO
autoconfig(8) BUGS
No address validations are attempted. Ucall is unique to the PDP-11 and 2BSD; its use is discouraged. 3rd Berkeley Distribution January 22, 1987 UCALL(2)

Check Out this Related Man Page

PHYS(2) 							System Calls Manual							   PHYS(2)

NAME
phys - allow a process to access physical addresses (2BSD) SYNOPSIS
phys(segreg, size, physaddr) unsigned int segreg, size, physaddr; DESCRIPTION
The argument segreg specifies a process virtual (data-space) address range of 8K bytes starting at virtual address segregx8K bytes. This address range is mapped into physical address physaddrx64 bytes. Only the first sizex64 bytes of this mapping is addressable. If size is zero, any previous mapping of this virtual address range is nullified. For example, the call phys(7, 1, 0177775); will map virtual addresses 0160000-0160077 into physical addresses 017777500-017777577. In particular, virtual address 0160060 is the PDP-11 console located at physical address 017777560. This call may only be executed by the super-user. ERRORS
[EPERM] The process's effective user ID is not the super-user. [EINVAL] Segreg is less than 0 or greater than 7. [EINVAL] Size is less than 0 or greater than 128. SEE ALSO
PDP-11 segmentation hardware BUGS
On systems with ENABLE/34(tm) memory mapping boards, phys cannot be used to map in the I/O page. This system call is very dangerous. It is not considered a permanent part of the system. Phys is unique to the PDP-11 and 2BSD; its use is discouraged. 3rd Berkeley Distribution January 22, 1987 PHYS(2)

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Autoloader working

Hi Exprts, I've some question regrading to work with Tape Autoloaders. i like to know that for making backup we could use "Tar" commands & any commands that we use for writing on ordinary Tape drives. Thanks, Nikk (4 Replies)
Discussion started by: nikk
4 Replies

2. Shell Programming and Scripting

Need help in creating arrays using shell

Hi, I need help in creating a array in shell scirpt. I have a file which has following details. hostname devices device1 device 2 de abcdmhs10 1234 2343 2353 3343 3435 2343 bcdfmhs11 2343 2443 3434 8874 0343 3434 (5 Replies)
Discussion started by: jpkumar10
5 Replies

3. Shell Programming and Scripting

arrays and two values

I have requirement where I need to capture the highest values of items from a feed that runs for N hours. For example lets assume my data looks like this first feed ======== appples 10 oranges 20 pears 14 second feed ========== apples 5 oranges 30 pears 1 Last feed... (6 Replies)
Discussion started by: BeefStu
6 Replies

4. Shell Programming and Scripting

Disabling and enabling the cron

Hi All, Please tell me what is command to disable and enable the cron in unix. Thanks in Advance. Regards, Sindu (5 Replies)
Discussion started by: indira_s
5 Replies

5. UNIX for Dummies Questions & Answers

Using finger in a loop

Hi, I have taken all active user list and passing it to below code for i in $(cat sample.out) do finger ${usr}> report.txt done I got below O/P Login Name TTY Idle When Where de4s1 john console 111d Fri 03:00 efr56 ... (21 Replies)
Discussion started by: stew
21 Replies

Featured Tech Videos