Getting Started With Open Sources Workshop @DTU, IEEE Delhi Section SAC

I gave two days workshop on 16th and 17th April in DTU on getting involved with open sources. IEEE Delhi section SAC organized this workshop.

Continue reading

#open-source

FOSSMeet’16 @NIT, Calicut

I was invited to speak at FOSSMeet’16 which was held at NIT, Calicut. I gave Contributing to Linux Kernel – Workshop with Vaishali Thakkar, and a talk Getting Started with Contributing to Open Sources.

Continue reading

Git fetch + merge, Git fetch + rebase, Git pull

Few days back, Amitoj asked me why doesn’t git fetch deletes the changes that are not present on remote but are present in local, when it does updates other changes. To explain it one need to understand the difference between git fetch + merge, git fetch + rebase and git pull and why we need to merge or rebase after a fetch and when? I tried searching for some good resources to explain the difference but I didn’t find anything good. So I thought of writing one.

First of all have a look at this image by  Oliver Steele.

XwVzT.png

Continue reading

#git

Strike-through Text In Gmail

  1. Select text which you want to strike out.
  2. Right click on the selected text and choose inspect element.
  3. The inspector will highlight that text.
  4. Right click on that and choose edit as HTML.
  5. Wrap the text inside <strike> tag.

#gmail, #text-effects

Getting Started with Contributing to Linux Kernel @ IGDTUW

I talked about “Getting started with contributing to Linux Kernel” at my university, Indira Gandhi Delhi Technical University on 14th March’15.

Continue reading

#linux-kernel, #linux-kernel-patch

Faults in Linux Kernel 3.x : Inconsistent assumptions about NULL

As part of my work, I need to annotate the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

This blog post is about the bugs and FPs I found for the case which checks for inconsistent assumptions about NULL. This has two parts, one is where NULL test is done preceding a dereference and the second is where a NULL test is done following a dereference. You can view the annotated report for the first case and for the second case.

Continue reading

#coccinelle-scripts, #dereference, #linux-kernels, #null-test

Faults in Linux Kernel 3.x : Disable interrupts and not re-enable them

As part of my work, I need to annotate the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

This blog post is about the bugs and FPs I found for the report which checks here interrupts are turned off but not turned on again, using the functions local_irq_save or save_and_cli, where interrupts are turned off but not turned on again, using the functions cli, where a lock that is taken but not released. Interrupts are disabled at the same time and where a lock that is taken more than once. Interrupts are disabled at the same time. You can view the annotated report here and here.

Continue reading

#coccinelle-scripts, #linux-kernel, #linux-kernel-3-x, #linux-kernel-bugs, #linux-kernels

Faults in Linux Kernel 3.x : Double Locks

As part of my work, I need to annotate the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

This blog post is about the bugs and FPs I found for the report which checks for locks taken two times. You can view the annotated report here.

Continue reading

#coccinelle-scripts, #linux-kernel, #linux-kernel-bugs, #linux-kernels

Faults in Linux Kernel 3.x : Calling blocking functions with interrupts disabled or spinlock held

As part of my work, I need to annotate the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

This blog post is about the bugs and FPs I found for the case which checks for locks around possibly blocking functions.

Continue reading

#coccinelle-scripts, #kernel-function, #linux-kernels

Faults in Linux Kernel 3.x : Wrong use of krealloc

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

As I’m reading the reports (newer ones), so today I completed Linux_realloc.new.org.

Continue reading

#bug, #coccinelle, #coccinelle-scripts, #faults, #krealloc, #linux-kernel, #linux-kernels