Search Results

Search: Posts Made By: ab_tall
5,806
Posted By ab_tall
@Shamrock Yes infact, I believe I was...
@Shamrock

Yes infact, I believe I was getting confused between system calls and interrupts.

More specifically, where system call handling and exception handling meet, that is what portion of...
5,806
Posted By ab_tall
One more clarification, From what i...
One more clarification,
From what i understand, there are a limited number of exceptions made available. But the no. of system calls is quite high,

If the dispatch table is indexed via the...
5,806
Posted By ab_tall
Hmm so as I understand it, int 0x80 causes...
Hmm so as I understand it,

int 0x80 causes the change to the kernel mode.

here 0x80 is used to index the IDT to get the location of the ISR.

What does the ISR location usually contain?
...
5,806
Posted By ab_tall
Could this post be moved to the Unix for Dummies...
Could this post be moved to the Unix for Dummies Q&A?
5,806
Posted By ab_tall
x86 Interrupts and system calls
I recently went through Understanding the linux kernel, to get an idea of how system calls and interrupts function in an x86 based machine.

However, the level of detail has left me slightly...
Forum: Programming 11-01-2011
2,310
Posted By ab_tall
My initial corruption was due to lack of...
My initial corruption was due to lack of accounting for that 1 index. Anyways, even when I accounted for it, I was getting the corruption, so I concluded that this lack of index was not the root...
Forum: Programming 10-31-2011
2,310
Posted By ab_tall
Corona : you were spot on. The FD array was...
Corona : you were spot on. The FD array was getting corrupted.
The array was dynamically allocated.

However, I tried statically allocating the array and it worked like a charm. The interesting...
Forum: Programming 10-31-2011
2,310
Posted By ab_tall
Machine dependent problems when using Sockets.
I am trying to write code for a client-server scenario using AF_INET sockets..

As is usually the case, everything works fine and dandy on my machine, but gives me the following error at runtime:
...
Forum: Programming 10-08-2011
6,590
Posted By ab_tall
Good news everyone! I got my shell to work in...
Good news everyone!
I got my shell to work in almost all cases. There are one or two bugs which I need to iron out, which I'll have a crack at tonight. Thank you for all your inputs!
Forum: Programming 10-08-2011
6,590
Posted By ab_tall
Why should'nt builtins work in the middle of the...
Why should'nt builtins work in the middle of the pipe?

In my home directory,
I tried ls | set | grep path
O/P given was:

path (/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin...
Forum: Programming 10-07-2011
6,590
Posted By ab_tall
Ok, I went the other way round, I...
Ok, I went the other way round,

I implemented all builtins first, thinking I could use them as needed in my pipes.
I tried to mesh that in with the prev eg. which you gave of the IPC via pipes....
Forum: Programming 10-07-2011
6,590
Posted By ab_tall
I am on Ubuntu 64 11.04. Lots to digest for one...
I am on Ubuntu 64 11.04. Lots to digest for one post. :)
Will try out some stuff and get back.

---------- Post updated at 07:49 PM ---------- Previous update was at 07:13 PM ----------

Thank...
Forum: Programming 10-07-2011
6,590
Posted By ab_tall
Regarding the last portion, What I...
Regarding the last portion,



What I meant to say is I am having a hard time debugging the child process once it execs, as gdb is attached to the parent.
(I thought as there is no explicit...
Forum: Programming 10-07-2011
6,590
Posted By ab_tall
@Thanks alister. The clarification was very...
@Thanks alister.

The clarification was very helpful indeed.
While we are on the subject, (and I know there are scattered resources available on google for this), how is the pipe underlying...
Forum: Programming 10-07-2011
6,590
Posted By ab_tall
@Corona That is one elegant piece of code....
@Corona

That is one elegant piece of code. Initially, I was going to bug you with added clarifications on how the code was working, but then decided that after so much effort on your part, the...
Forum: Programming 10-07-2011
6,590
Posted By ab_tall
@Corona Apologise if the bumping was excessive.. ...
@Corona Apologise if the bumping was excessive..
The fork is done as a part of the line, run the command in a subshell.
Thanks for the explanation though, let me ensure if I am correctly closing...
Forum: Programming 10-07-2011
6,590
Posted By ab_tall
Problems understanding pipes
I am trying to create a csh clone, but am having problems implementing piped commands. Specifically, the below code simply hangs after input of ls | grep <text>
It does however filter the output and...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 01:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy