Sponsored Content
Operating Systems HP-UX Equivalent Kernel parameter in HP-UX Post 302158431 by Perderabo on Tuesday 15th of January 2008 09:30:32 AM
Old 01-15-2008
I have not heard of that parameter in reference to Linux. A web search shows that it is available on on some BSD versions though. And what it does is to restrict non-root users to seeing only processes owned by the user. I do not know of any way to do that in HP-UX. Even if you write your own version of ps and install that, a non-root user could still access the pstat family of system calls via a C program or perl script to see other users processes. And a C compiler and perl interpreter and standard components of HP-UX. Converting HP-UX to a trusted system (C2 level security) will not help this although you could then audit accesses to the ps command and invocations of the pstat system calls.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

kernel parameter

Hi all How to change the system parameter (kernel Parameter) in sun solaris..i wan't to increase the maximum no of user processs.i found it frm sysdef command that it has a value of 3048 i wan't to increase it as smtime while forking a new proceess it,s giving error max limit of user process... (1 Reply)
Discussion started by: Prafulla
1 Replies

2. UNIX for Dummies Questions & Answers

kernel parameter

Hi all I am using HPUX 11.00 .its a HP9000 L class server with 1gb ram and dual processor 540Mhz. i want to know abt the two kernel parameter mentioned below 1)maxdsize 2)maxssize these two parameter has the default values and it has not been changed once. as some application on this... (1 Reply)
Discussion started by: Prafulla
1 Replies

3. UNIX for Dummies Questions & Answers

kernel parameter settings

Hello All, can someone clarify finally what are the kernel parameter settings for ORACLE9i on SOLARIS9 ? the following first part is copy paste from the sun's web... (2 Replies)
Discussion started by: grep
2 Replies

4. UNIX for Dummies Questions & Answers

How to change a kernel parameter

Hello and thank you everyone that has helped guide me in the past. I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64. I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Discussion started by: soestx
7 Replies

5. UNIX for Dummies Questions & Answers

kernel parameter in SOL

Hello everbody: I have Sol9, and I need to check its kernekl parameters, do you know how to list them or in which file they can be found. Thanks in Advance (3 Replies)
Discussion started by: aladdin
3 Replies

6. UNIX for Dummies Questions & Answers

kernel parameter values

Hi All Need to find kernel parameter values of our UNIX box. /filesys1/tmp>uname -a HP-UX hps1_dc B.11.11 U 9000/800 1681349356 unlimited-user license /filesys1/CDBLprodrun/tmp> Can anyone help me with the cmd to find kernel parameter values? Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies

7. HP-UX

nk thread kernel parameter

Hi. I wanted to know, that if an issue is coming, where ,on running a load test, the memory of the APP server(unix) increases, but does not come down once the test is over, in that case, does tuning the nk thread paramter help in teleasing of the memory..??? plz answer soon (2 Replies)
Discussion started by: TC123
2 Replies

8. Solaris

How to change the Kernel parameter MAXDSIZE

Hi, How can I change the Kernel parameter MAXDSIZE??:confused::confused: Thanks in Advance ... (1 Reply)
Discussion started by: smartgupta
1 Replies

9. UNIX for Advanced & Expert Users

How to check what are the current kernel parameter settings

Hi all, I have four (4) different UNIX flavours and I want to know whether the following commands are correct with respect to wanting to check on what are my current kernel parameter settings. I just want to clear the doubts hanging over my head whether the commands below are the right ones... (2 Replies)
Discussion started by: newbie_01
2 Replies

10. UNIX for Dummies Questions & Answers

How do I list kernel module parameter values?

Hi, I have problem with parameter configuration. My question is after the configuration, how to check if successfully change the value or not? I saw someone has the same question, and followed his steps. Original thread:... (3 Replies)
Discussion started by: skybb
3 Replies
BDFLUSH(2)						     Linux Programmer's Manual							BDFLUSH(2)

NAME
bdflush - start, flush, or tune buffer-dirty-flush daemon SYNOPSIS
#include <sys/kdaemon.h> int bdflush(int func, long *address); int bdflush(int func, long data); DESCRIPTION
Note: Since Linux 2.6, this system call is deprecated and does nothing. It is likely to disappear altogether in a future kernel release. Nowadays, the task performed by bdflush() is handled by the kernel pdflush thread. bdflush() starts, flushes, or tunes the buffer-dirty-flush daemon. Only a privileged process (one with the CAP_SYS_ADMIN capability) may call bdflush(). If func is negative or 0, and no daemon has been started, then bdflush() enters the daemon code and never returns. If func is 1, some dirty buffers are written to disk. If func is 2 or more and is even (low bit is 0), then address is the address of a long word, and the tuning parameter numbered (func-2)/2 is returned to the caller in that address. If func is 3 or more and is odd (low bit is 1), then data is a long word, and the kernel sets tuning parameter numbered (func-3)/2 to that value. The set of parameters, their values, and their valid ranges are defined in the Linux kernel source file fs/buffer.c. RETURN VALUE
If func is negative or 0 and the daemon successfully starts, bdflush() never returns. Otherwise, the return value is 0 on success and -1 on failure, with errno set to indicate the error. ERRORS
EBUSY An attempt was made to enter the daemon code after another process has already entered. EFAULT address points outside your accessible address space. EINVAL An attempt was made to read or write an invalid parameter number, or to write an invalid value to a parameter. EPERM Caller does not have the CAP_SYS_ADMIN capability. CONFORMING TO
bdflush() is Linux-specific and should not be used in programs intended to be portable. SEE ALSO
fsync(2), sync(2), sync(8), update(8) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2012-03-05 BDFLUSH(2)
All times are GMT -4. The time now is 08:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy