- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: a question about kill_stub32
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 12:28 AM
тАО07-07-2009 12:28 AM
0x8b433c
0x8b4340
0x8b4344
0x8b4348
0x8b434c
0x8b4350
0x8b4354
0x8b4358
why kill_stub32 have such code before call kill function?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 02:13 AM
тАО07-07-2009 02:13 AM
Re: a question about kill_stub32
That stub get long argument of kill and change them to int.
f(x)
struct {
union { int v1; int v2 } i ;
union { long v1; long v2 } l ;
}*x;
{
x->i.v1=x->l.v1;
x->i.v2=x->l.v2;
kill(x);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 04:17 AM
тАО07-07-2009 04:17 AM
Re: a question about kill_stub32
in fact it extends the sign of the lower 32 bits to the 64 bits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 04:24 AM
тАО07-07-2009 04:24 AM
Re: a question about kill_stub32
struct {
union { int i[2]; long l } v1,v2 ;
}*x;
{
x->vl.l=x->v1.i[1];
x->v2.l=x->v2.i[1];
kill(x);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 08:11 AM
тАО07-07-2009 08:11 AM
Re: a question about kill_stub32
Didn't I say that? :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 08:23 AM
тАО07-07-2009 08:23 AM
Re: a question about kill_stub32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 07:23 PM
тАО07-07-2009 07:23 PM
Re: a question about kill_stub32
extrw,s %ret0,0,1,%ret0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 10:37 PM
тАО07-07-2009 10:37 PM
Re: a question about kill_stub32
extrw,s %ret0,0,1,%ret0?
It is an signed extract word on the left most bit (pos 0 len 1)of ret0 to ret0 so if it is a 1 it set the all word to 1 because it is signed
and if it is a 0 it reset ret0 to 0.
so it propagate the sign of ret0 to ret0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 09:26 PM
тАО07-08-2009 09:26 PM
Re: a question about kill_stub32
is kill() function one parameter?