HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- GetEvent Issues
Operating System - HP-UX
1833697
Members
4127
Online
110062
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-27-2002 03:46 AM
11-27-2002 03:46 AM
GetEvent Issues
Hi,
I'm having a issue where calling GetEvent (audit.h)causes a segmentation fault. I think this is due to my incorrect use of the function however the man page is a little unclear. Does anyone have experience of this function and can provide either alternative documentation or code samples.
I'm running on HPUX 11.00 and compiling C++ with GCC 3.2
I'm having a issue where calling GetEvent (audit.h)causes a segmentation fault. I think this is due to my incorrect use of the function however the man page is a little unclear. Does anyone have experience of this function and can provide either alternative documentation or code samples.
I'm running on HPUX 11.00 and compiling C++ with GCC 3.2
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2002 05:48 AM
11-27-2002 05:48 AM
Re: GetEvent Issues
Hi,
Can you give us your getevent utilisation ? And which signal does the program received ?
Are you super user when you're using this system call ?
Regards,
Jerome
Can you give us your getevent utilisation ? And which signal does the program received ?
Are you super user when you're using this system call ?
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2002 05:54 AM
11-27-2002 05:54 AM
Re: GetEvent Issues
The program causing a seg fault, which I think is due to stack or memory issues after the call to getEvent. After looking at the problem today I think this is an issue with MAX_SYSCALL.
code snippet
struct aud_event_tbl ev;
struct aud_type sc[MAX_SYSCALL];
getevent(sc, &ev)
the size of MAX_SYSCALL seems to change in different versions of audit.h
code snippet
struct aud_event_tbl ev;
struct aud_type sc[MAX_SYSCALL];
getevent(sc, &ev)
the size of MAX_SYSCALL seems to change in different versions of audit.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2002 05:59 AM
11-27-2002 05:59 AM
Re: GetEvent Issues
On my system MAX_SYSCALL is set to 512 :
/usr/include/sys/audit.h:#define MAX_SYSCALL 512 /* Max sys call # + 1 */
Regards,
Jerome
/usr/include/sys/audit.h:#define MAX_SYSCALL 512 /* Max sys call # + 1 */
Regards,
Jerome
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP