Hi...
On Fri, Feb 22, 2008 at 1:53 PM, ravikumar <[EMAIL PROTECTED]> wrote:
> My DES encryption/decryption code is working fine with 32 bit processor.
> But in 64 bit processor decryption failed.
> Executables are made on the respective machines.
>
> Is there any reason to fail on x64 processor
On 21-02-08 17:24, Peter Teoh wrote:
Appreciate very much for your time spent. Just to provide some
further background, the questions arises from this patch (gossamer
below can show the long chain of discussion - but lkml.org cannot):
http://www.gossamer-threads.com/lists/linux/kernel/881863
My DES encryption/decryption code is working fine with 32 bit processor.
But in 64 bit processor decryption failed.
Executables are made on the respective machines.
Is there any reason to fail on x64 processor. Do i need to care
something while writing code this for encryption/decryption algorit
Hi,
Thanks foe the information. I have created the file
/etc/nsswitch.conf and tried to run the same application, then perror is
printing success, but the password structure address remains 0. My
program and output is given below
#include
#include
#include
#include
int main()
{
uid_
On Thu, Feb 21, 2008 at 7:53 PM, tomy <[EMAIL PROTECTED]> wrote:
> hi,
> While printing the error it displaying " No such file or directory".
> What is the default file for getpwuid?...
>
The man page says this :
NOTE
The user password database mostly refers to /etc/passwd.
However, wit
Appreciate very much for your time spent. Just to provide some
further background, the questions arises from this patch (gossamer
below can show the long chain of discussion - but lkml.org cannot):
http://www.gossamer-threads.com/lists/linux/kernel/881863
On Thu, Feb 21, 2008 at 8:54 PM, Rene
HELLO,
MY NAME IS STEPHINE IN SEARCH OF A MAN WHO UNDERSTANDS THE MEANING OF LOVE AS
TRUST AND FAITH IN EACH OTHER RATHER THAN ONE WHO SEES LOVE AS THE ONLY WAY OF
FUN BUT A MATURED MAN WITH NICE VISSION OF WHAT THE WORLD IS ALL ABOUT SO AFTER
SEING YOUR ID IN A SITE I TOOK INTREST PLEASE REPLY
hi,
While printing the error it displaying " No such file or directory".
What is the default file for getpwuid?...
Martin Mancuska wrote:
Did you try to print errno value ?
martin
2008/2/21, tomy <[EMAIL PROTECTED]>:
In my application
#include
#include
#include
int main()
{
>> #include
>> #include
>> #include
Isn't #include missing here?
Also check errno like Martin suggests. For this you need #include and
make sure you set errno=0 before you call getpwuid.
Cheers, Mark.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [
Did you try to print errno value ?
martin
2008/2/21, tomy <[EMAIL PROTECTED]>:
> In my application
>
> #include
> #include
> #include
> int main()
> {
> uid_t uid;
> struct passwd *pw=NULL;
> uid=getuid();
> pw=(struct passwd *)getpwuid(uid);
> printf("uid is %d\n",uid
On 21-02-08 09:45, Peter Teoh wrote:
I have many doubts over this email chain:
Things like this are best off being CCed to kernelnewbies -- that way, more
people who might be interested get to read it, and might expand or follow
up, or...
a. port 0x80 - it is a debug port from Intel chi
In my application
#include
#include
#include
int main()
{
uid_t uid;
struct passwd *pw=NULL;
uid=getuid();
pw=(struct passwd *)getpwuid(uid);
printf("uid is %d\n",uid);
printf("Password structure addr is %d",pw);
}
Output is
uid is 0
Password structure addr is 0
Why this is
On Thu, 21 Feb 2008, Thomas De Schampheleire wrote:
> On Thu, Feb 21, 2008 at 10:18 AM, Robert P. J. Day
> <[EMAIL PROTECTED]> wrote:
> >
> > On Thu, 21 Feb 2008, Thomas De Schampheleire wrote:
> >
> > > On Wed, Feb 20, 2008 at 9:07 PM, Brandon Philips <[EMAIL PROTECTED]>
> > wrote:
> > > > On
On Thu, Feb 21, 2008 at 10:18 AM, Robert P. J. Day
<[EMAIL PROTECTED]> wrote:
>
> On Thu, 21 Feb 2008, Thomas De Schampheleire wrote:
>
> > On Wed, Feb 20, 2008 at 9:07 PM, Brandon Philips <[EMAIL PROTECTED]> wrote:
> > > On 13:17 Wed 20 Feb 2008, Robert P. J. Day wrote:
> > > > i just picked
On Thu, 21 Feb 2008, Thomas De Schampheleire wrote:
> On Wed, Feb 20, 2008 at 9:07 PM, Brandon Philips <[EMAIL PROTECTED]> wrote:
> > On 13:17 Wed 20 Feb 2008, Robert P. J. Day wrote:
> > > i just picked up a logitech quickcam communicate STX webcam for my
> > > fedora 8 system, and was pointe
Hi All,
I have build mini linux distro for my ARM920T embedded system. It
includes my own bootloader, 2.6.24 vanilla kernel, jffs2 rootfs and
busybox. I use buildroot toolchain.
Now I want start to write device drivers for my hardware.
I've read O'REILLY book Linux Device Drivers (3th edition
On Wed, Feb 20, 2008 at 9:07 PM, Brandon Philips <[EMAIL PROTECTED]> wrote:
> On 13:17 Wed 20 Feb 2008, Robert P. J. Day wrote:
> > i just picked up a logitech quickcam communicate STX webcam for my
> > fedora 8 system, and was pointed in the direction of:
> >
> > http://mxhaard.free.fr/dow
17 matches
Mail list logo