mjw is currently certified at Master level.

Name: Mark Wielaard
Member since: 2000-05-10 08:47:35
Last Login: 2010-03-27 09:44:07

FOAF RDF Share This

Homepage: http://www.klomp.org/mark/

Notes:

Since I know a little Java I try to contribute to some of the free Java related projects. I maintain the webpages and distribution files of GNUJSP. I contributed the java.util.jar package to Classpath (which is now merged into libgcj). I updated the javax.servlet package that Paul Siegman wrote to version 2.1 of the Servlet specification, which is now merged with the ClasspathX project. I am the current GNU Classpath maintainer.

Projects

Recent blog entries by mjw

Syndication: RSS 2.0

Java bug CVE-2012-4681

There seems to be a nasty bug out there in some implementations of Java 7, including IcedTea7 and OpenJDK7. The bug is very public and being actively abused to circumvent security restrictions. Please upgrade to IcedTea 2.3.1 or build your packages using the patch as discussed on the OpenJDK mailinglists.

Note that if you are using the icedtea-web applet viewer then you are not directly vulnerable to the exploits as currently out there in the wild since those try to disable the SecurityManager completely and icedtea-web doesn’t allow that (some proprietary applet viewers do allow that though). But there are other ways to abuse this bug to circumvent security restrictions in a more subtle way, so patching is still very recommended.

Syndicated 2012-08-30 08:24:21 from Mark J. Wielaard

classpath/icedtea server updates

Some classpath/icedtea servers changed networks/ip addresses on Sunday. Changes should propagate through DNS on Monday. This can cause connection errors to planet.classpath.org, builder.classpath.org (buildbot and jenkins) and icedtea.wildebeest.org (hg backups). Apologies for the late notice.

Syndicated 2012-06-03 21:55:58 from Mark J. Wielaard

Justice – APIs are not subject to copyright protection

anyone is free under the Copyright Act to write his or her own code to carry out exactly the same function or specification of any methods used in the Java API

More on Groklaw.

Syndicated 2012-05-31 21:40:02 from Mark J. Wielaard

Pull user-space probe instrumentation

commit 654443e20dfc0617231f28a07c96a979ee1a0239
Merge: 2c01e7b 9cba26e
Author: Linus Torvalds
Date:   Thu May 24 11:39:34 2012 -0700

    Merge branch 'perf-uprobes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

    Pull user-space probe instrumentation from Ingo Molnar:
     "The uprobes code originates from SystemTap and has been used for years
      in Fedora and RHEL kernels.  This version is much rewritten, reviews
      from PeterZ, Oleg and myself shaped the end result.

      This tree includes uprobes support in 'perf probe' - but SystemTap
      (and other tools) can take advantage of user probe points as well.

      Sample usage of uprobes via perf, for example to profile malloc()
      calls without modifying user-space binaries.

      First boot a new kernel with CONFIG_UPROBE_EVENT=y enabled.

      If you don't know which function you want to probe you can pick one
      from 'perf top' or can get a list all functions that can be probed
      within libc (binaries can be specified as well):

    	$ perf probe -F -x /lib/libc.so.6

      To probe libc's malloc():

    	$ perf probe -x /lib64/libc.so.6 malloc
    	Added new event:
    	probe_libc:malloc    (on 0x7eac0)

      You can now use it in all perf tools, such as:

    	perf record -e probe_libc:malloc -aR sleep 1

      Make use of it to create a call graph (as the flat profile is going to
      look very boring):

    	$ perf record -e probe_libc:malloc -gR make
    	[ perf record: Woken up 173 times to write data ]
    	[ perf record: Captured and wrote 44.190 MB perf.data (~1930712

    	$ perf report | less

    	  32.03%            git  libc-2.15.so   [.] malloc
    	                    |
    	                    --- malloc

    	  29.49%            cc1  libc-2.15.so   [.] malloc
    	                    |
    	                    --- malloc
    	                       |
    	                       |--0.95%-- 0x208eb1000000000
    	                       |
    	                       |--0.63%-- htab_traverse_noresize

    	  11.04%             as  libc-2.15.so   [.] malloc
    	                     |
    	                     --- malloc
    	                        |

    	   7.15%             ld  libc-2.15.so   [.] malloc
    	                     |
    	                     --- malloc
    	                        |

    	   5.07%             sh  libc-2.15.so   [.] malloc
    	                     |
    	                     --- malloc
    	                        |
    	   4.99%  python-config  libc-2.15.so   [.] malloc
    	          |
    	          --- malloc
    	             |
    	   4.54%           make  libc-2.15.so   [.] malloc
    	                   |
    	                   --- malloc
    	                      |
    	                      |--7.34%-- glob
    	                      |          |
    	                      |          |--93.18%-- 0x41588f
    	                      |          |
    	                      |           --6.82%-- glob
    	                      |                     0x41588f

    	   ...

      Or:

    	$ perf report -g flat | less

    	# Overhead        Command  Shared Object      Symbol
    	# ........  .............  .............  ..........
    	#
    	  32.03%            git  libc-2.15.so   [.] malloc
    	          27.19%
    	              malloc

    	  29.49%            cc1  libc-2.15.so   [.] malloc
    	          24.77%
    	              malloc

    	  11.04%             as  libc-2.15.so   [.] malloc
    	          11.02%
    	              malloc

    	   7.15%             ld  libc-2.15.so   [.] malloc
    	           6.57%
    	              malloc

    	 ...

      The core uprobes design is fairly straightforward: uprobes probe
      points register themselves at (inode:offset) addresses of
      libraries/binaries, after which all existing (or new) vmas that map
      that address will have a software breakpoint injected at that address.
      vmas are COW-ed to preserve original content.  The probe points are
      kept in an rbtree.

      If user-space executes the probed inode:offset instruction address
      then an event is generated which can be recovered from the regular
      perf event channels and mmap-ed ring-buffer.

      Multiple probes at the same address are supported, they create a
      dynamic callback list of event consumers.

      The basic model is further complicated by the XOL speedup: the
      original instruction that is probed is copied (in an architecture
      specific fashion) and executed out of line when the probe triggers.
      The XOL area is a single vma per process, with a fixed number of
      entries (which limits probe execution parallelism).

      The API: uprobes are installed/removed via
      /sys/kernel/debug/tracing/uprobe_events, the API is integrated to
      align with the kprobes interface as much as possible, but is separate
      to it.

      Injecting a probe point is privileged operation, which can be relaxed
      by setting perf_paranoid to -1.

      You can use multiple probes as well and mix them with kprobes and
      regular PMU events or tracepoints, when instrumenting a task."

    Fix up trivial conflicts in mm/memory.c due to previous cleanup of
    unmap_single_vma().

    * 'perf-uprobes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
      perf probe: Detect probe target when m/x options are absent
      perf probe: Provide perf interface for uprobes
      tracing: Fix kconfig warning due to a typo
      tracing: Provide trace events interface for uprobes
      tracing: Extract out common code for kprobes/uprobes trace events
      tracing: Modify is_delete, is_return from int to bool
      uprobes/core: Decrement uprobe count before the pages are unmapped
      uprobes/core: Make background page replacement logic account for rss_stat counters
      uprobes/core: Optimize probe hits with the help of a counter
      uprobes/core: Allocate XOL slots for uprobes use
      uprobes/core: Handle breakpoint and singlestep exceptions
      uprobes/core: Rename bkpt to swbp
      uprobes/core: Make order of function parameters consistent across functions
      uprobes/core: Make macro names consistent
      uprobes: Update copyright notices
      uprobes/core: Move insn to arch specific structure
      uprobes/core: Remove uprobe_opcode_sz
      uprobes/core: Make instruction tables volatile
      uprobes: Move to kernel/events/
      uprobes/core: Clean up, refactor and improve the code
      ...

Syndicated 2012-05-24 21:29:06 from Mark J. Wielaard

FSF statement on jury’s partial verdict in Oracle v Google

Were it grounded in reality, Oracle’s claim that copyright law gives them proprietary control over any software that uses a particular functional API would be terrible for free software and programmers everywhere. It is an unethical and greedy interpretation created with the express purpose of subjugating as many computer users as possible, and is particularly bad in this context because it comes at a time when the sun has barely set on the free software community’s celebration of Java as a language newly suitable for use in the free world. Fortunately, the claim is not yet reality, and we hope Judge Alsup will keep it that way.

John Sullivan, executive director of the Free Software Foundation

Syndicated 2012-05-10 07:46:43 from Mark J. Wielaard

220 older entries...

 

mjw certified others as follows:

  • mjw certified mjw as Journeyer
  • mjw certified tromey as Master
  • mjw certified raph as Master
  • mjw certified jdub as Master
  • mjw certified robilad as Master
  • mjw certified jpick as Journeyer
  • mjw certified sab39 as Journeyer
  • mjw certified goran as Journeyer
  • mjw certified Anthony as Master
  • mjw certified rmathew as Journeyer
  • mjw certified Bram as Master
  • mjw certified gonzo as Apprentice
  • mjw certified kiffer as Journeyer
  • mjw certified DV as Master
  • mjw certified graydon as Master
  • mjw certified twiun as Journeyer
  • mjw certified jibbler as Journeyer
  • mjw certified coriordan as Journeyer
  • mjw certified saugart as Journeyer
  • mjw certified gadek as Apprentice
  • mjw certified jserv as Journeyer
  • mjw certified dog as Master
  • mjw certified Suvarov454 as Journeyer
  • mjw certified cbj as Journeyer
  • mjw certified gary as Journeyer
  • mjw certified kuzman as Master
  • mjw certified jvic as Apprentice
  • mjw certified aph as Master
  • mjw certified avdyk as Journeyer
  • mjw certified twisti as Journeyer
  • mjw certified audriusa as Journeyer

Others have certified mjw as follows:

  • mjw certified mjw as Journeyer
  • Raphael certified mjw as Apprentice
  • sh certified mjw as Apprentice
  • claudio certified mjw as Apprentice
  • lev certified mjw as Apprentice
  • goran certified mjw as Journeyer
  • robilad certified mjw as Master
  • fxn certified mjw as Journeyer
  • lerdsuwa certified mjw as Journeyer
  • tromey certified mjw as Master
  • Anthony certified mjw as Master
  • ade certified mjw as Journeyer
  • rmathew certified mjw as Journeyer
  • gonzo certified mjw as Master
  • DV certified mjw as Master
  • twiun certified mjw as Master
  • ebf certified mjw as Master
  • jpick certified mjw as Master
  • saugart certified mjw as Master
  • gadek certified mjw as Master
  • Suvarov454 certified mjw as Master
  • mitr certified mjw as Journeyer
  • jserv certified mjw as Master
  • e8johan certified mjw as Journeyer
  • dog certified mjw as Master
  • gary certified mjw as Master
  • kuzman certified mjw as Master
  • jvic certified mjw as Master
  • graydon certified mjw as Journeyer
  • sqlguru certified mjw as Master
  • audriusa certified mjw as Master
  • reenoo certified mjw as Master
  • gnuandrew certified mjw as Master
  • rlougher certified mjw as Master
  • ean certified mjw as Master
  • ittner certified mjw as Master

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page