Re: pfiles handle 255
- From: Jean-Louis Liagre <jlliagre@xxxxxxxxxxxx>
- Date: Thu, 17 Aug 2006 09:40:54 +0200
Rodrick R. Brown wrote:
Anyone know off hand why the following handle is usually opened by most proccesses and usually given the highest allowed number in the open file process table?
255: S_IFCHR mode:0620 dev:274,0 ino:12582918 uid:100 gid:7 rdev:24,1
O_RDWR|O_NOCTTY|O_LARGEFILE FD_CLOEXEC
/devices/pseudo/pts@0:1
That's a bash feature:
http://cvs.opensolaris.org/source/xref/sfw/usr/src/cmd/bash/bash-3.0/general.c#413
Used that way:
/* Open the script. But try to move the file descriptor to a randomly
large one, in the hopes that any descriptors used by the script will
not match with ours. */
.
- References:
- pfiles handle 255
- From: Rodrick R. Brown
- pfiles handle 255
- Prev by Date: FSCK errors
- Next by Date: Re: "Program exited with code 034" what dose it mean
- Previous by thread: pfiles handle 255
- Next by thread: Broadcom 440x not detected
- Index(es):
Relevant Pages
|