has just made the link, st_nlink==2
*/
As You can see, this is not good idea to use procmail when anyone can made
a hardlink to my mailbox.
--
Paweł Jakub Dawidek
Network Administrator.
Am I Evil? Yes, I Am.
msg33416/pgp0.pgp
Description: PGP signature
with rm, but...
Or tell me when this feature can help.
--
Paweł Jakub Dawidek
Network Administrator.
Am I Evil? Yes, I Am.
msg33405/pgp0.pgp
Description: PGP signature
}
> if (!stat)
> return (EPERM);
> }
> for (i = 0; i < ngrp; i++)
> pc->pc_ucred->cr_groups[i] = uap->gidset[i];
--
Paweł Jakub Dawidek
Network Administrator.
Am I Evil? Yes, I Am.
msg33393/pgp0.pgp
Description: PGP signature
On Mon, Feb 11, 2002 at 12:46:47AM -0800, Kip Macy wrote:
+> I don't see any reference to you calling vrele or vput. Without that the
+> reference count won't be decreased and the vnode will continue to be locked for
+> all other callers.
+>
That's it. thX!
--
load my
module. Only reboot can free it.
So what's going on?
Or maybe there is some other way to get file inode?
--
Paweł Jakub Dawidek
Network Administrator.
Am I Evil? Yes, I Am.
msg31729/pgp0.pgp
Description: PGP signature
) or like
+> that, and munmap() the memory. This is neither proper nor efficient way
+> to do that, but it's easy and it works. Note that in case of ./ or
+> several ../ in the file name you may need to do some extra processing
+> to get "correct" full path.
+>
Working!
area.
I want to control for example open() syscall:
static int my_open(register struct proc *p, register struct open_args *ea)
{
[...]
}
Name of file to open is in ea->path, but this name can be: ./somefile
and i need a full path to it.
--
Paweł Jakub Dawidek
Network Administrator.
Am I Evil? Yes, I Am.
msg31386/pgp0.pgp
Description: PGP signature
s now.
+>
Hmm...
And what with full path when i got filename, proc, etc.
I can get full path or only mountpoint?
--
Paweł Jakub Dawidek
Network Administrator.
Am I Evil? Yes, I Am.
msg31382/pgp0.pgp
Description: PGP signature
On Sun, Feb 03, 2002 at 10:11:37PM +0100, Paweł Jakub Dawidek wrote:
+> But how can i get file name?
+>
[...]
+> I got file name, but how can I get full path name for this file?
+>
Answer that there is no way to get that will be nice too.
--
Paweł Jakub Dawidek
Network Adminis
.
But how can i get file name?
There is a way to get inode when i have file name and p (struct proc), so
maybe there is a way to get file name from inode number and p.
And another thing for chflags syscall.
I got file name, but how can I get full path name for this file?
--
Paweł Jakub Dawidek
10 matches
Mail list logo