hello, list!
On Friday 24 January 2003 15:22, Michael Van Canneyt wrote:
>
> No particular reason. It wasn't needed at the time of the linux port
> It is (or should be) implemented in the new 1.1 series.
>
thanks .. this makes me feel better. but isn't it strange that google finds
not a single
> On Fri, 24 Jan 2003, Anton Tichawa wrote:
>
> > Regs.Reg2 := UID;
> > SetUID := SysCall(SysCall_nr_getuid, Regs);
> > end;
> > //...
> >
> > written by me some months ago.
> >
> > a question to the fpc development team: i'm slowly getting paranoid, because
> > access to hw, i/o and system se
> here you are:
>
>
> // ...
> uses
> Linux;
> // ...
> function SetUID(UID: Longint): Longint;
> var
> Regs: SysCallRegs;
> begin
> Regs.Reg2 := UID;
> SetUID := SysCall(SysCall_nr_getuid, Regs);
> end;
> //...
>
>
> written by me some months ago.
>
> a question to the fpc developm
On Fri, 24 Jan 2003, Anton Tichawa wrote:
> hello, csaba!
>
> here you are:
>
>
> // ...
> uses
> Linux;
> // ...
> function SetUID(UID: Longint): Longint;
> var
> Regs: SysCallRegs;
> begin
> Regs.Reg2 := UID;
> SetUID := SysCall(SysCall_nr_getuid, Regs);
> end;
> //...
>
>
> written
> I am new on maillist. I have got a question. A cannot find function called
> setuid() like in c++. In the source of compiler/units a have found a section
> where the linux like function declared. There is a contant called
> "syscall_nr_setuid", but it is NOT used in any function. A can declare a
>
> I am new on maillist. I have got a question. A cannot find function called
> setuid() like in c++.
> In the source of compiler/units a have found a section
> where the linux like function declared. There is a contant called
> "syscall_nr_setuid", but it is NOT used in any function. A can decl
hello, csaba!
here you are:
// ...
uses
Linux;
// ...
function SetUID(UID: Longint): Longint;
var
Regs: SysCallRegs;
begin
Regs.Reg2 := UID;
SetUID := SysCall(SysCall_nr_getuid, Regs);
end;
//...
written by me some months ago.
a question to the fpc development team: i'm slowly getting
Hello masters!
I am new on maillist. I have got a question. A cannot find function called
setuid() like in c++. In the source of compiler/units a have found a section
where the linux like function declared. There is a contant called
"syscall_nr_setuid", but it is NOT used in any function. A can de