Author pitrou
Recipients jcea, loewis, movement, pitrou
Date 2011-01-26.10:57:21
SpamBayes Score 1.96126e-07
Marked as misclassified No
Message-id <1296039446.69.0.66523737586.issue11016@psf.upfronthosting.co.za>
In-reply-to
Content
Solaris has an additional kind of special files named doors. The standard headers define the following macro:

#define      S_ISDOOR(mode)  (((mode)&0xF000) == 0xd000)

Perhaps it would be nice to include the equivalent in the stat module.

(although funnily even the "stat" command doesn't recognize them and displayed "weird file" instead:

$ stat /var/run/syslog_door 
  File: `/var/run/syslog_door'
  Size: 0               Blocks: 0          IO Block: 0      weird file
Device: 8bc0000h/146538496d     Inode: 44          Links: 1
Access: (0644/Drw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2011-01-26 11:52:34.332492612 +0100
Modify: 2011-01-26 11:52:34.332492612 +0100
Change: 2011-01-26 11:52:34.332499428 +0100
)
History
Date User Action Args
2011-01-26 10:57:26pitrousetrecipients: + pitrou, loewis, jcea, movement
2011-01-26 10:57:26pitrousetmessageid: <1296039446.69.0.66523737586.issue11016@psf.upfronthosting.co.za>
2011-01-26 10:57:21pitroulinkissue11016 messages
2011-01-26 10:57:21pitroucreate